Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

An accordion inside of a scrolling Modal does not play nicely. #819

Open
jhoward-eightfold opened this issue Apr 18, 2024 · 1 comment
Open
Assignees
Labels
bug Something isn't working

Comments

@jhoward-eightfold
Copy link
Contributor

Accordions inside scrollable modals do not play nicely together. Hack fix for this is to wrap the accordion in a div or other block level element. Then it works fine.

Reproduction:
https://codesandbox.io/p/sandbox/modal-accordion-combo-reproduction-zrf494?file=%2Fdemo.js%3A1%2C1-66%2C1

@dkilgore-eightfold
Copy link
Contributor

It's more the Modal children using an empty node <></> as the parent that's the root cause. However, Accordion does act strangely in this scenario.

@dkilgore-eightfold dkilgore-eightfold added the bug Something isn't working label Apr 24, 2024
@dkilgore-eightfold dkilgore-eightfold self-assigned this Apr 24, 2024
@dkilgore-eightfold dkilgore-eightfold removed their assignment Jun 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants