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

Popover Content cant be scrolled in a Dialog. #2028

Closed
nmhieu1896 opened this issue Mar 17, 2023 · 2 comments
Closed

Popover Content cant be scrolled in a Dialog. #2028

nmhieu1896 opened this issue Mar 17, 2023 · 2 comments

Comments

@nmhieu1896
Copy link

nmhieu1896 commented Mar 17, 2023

Bug report

If a popover content is set as overflow, it's not working inside a dialog
This is a demo for it. Two popover with overflow, the one outside the dialog is scrollable but the one inside is not.

Reproducible example

https://codesandbox.io/s/hungry-faraday-2ilw12?file=/src/App.js

P/s: If there's some workaround for this, please teach me. Thanks

@joaom00
Copy link
Contributor

joaom00 commented Mar 17, 2023

Duplicate of #1159

In the meantime, you can remove the Portal part from Popover.

@nmhieu1896
Copy link
Author

Niceeeeee, Cant believe I spend a day working around without noticing portal.
Thank you so much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants