Popover in scrollable container #7953
Unanswered
stevegreco
asked this question in
Q&A
Replies: 1 comment 11 replies
-
|
Does your popover have an underlay? You could use that to block the scrolling. Otherwise, maybe a running example in codesandbox or stackblitz could help, I'm not sure how the Popover is inside the ScrollableContainer, they are portalled out to be under the body. |
Beta Was this translation helpful? Give feedback.
11 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
When using the
Popoverinside of a scrollable container, I am curious what options are available with the props to prevent the container from allowing scroll to occur.As of today, the
overflow: hiddenis set on thehtmlelement, which works perfectly if thePopoveris on the page, but in my scenario, we are placing the Popover inside of a scrollable container within the page. This results in the container still being scrollable when thePopoveris open, causing the positioning to break if the user scrolls. I am having trouble understanding which props might help address this.Here is a very basic example. My intention is that overflow: hidden is set on the
ScrollableContaineras opposed tohtmlin this case.Beta Was this translation helpful? Give feedback.
All reactions