-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
Converged Popover: nested popover is not updating position on scrolling container #21457
Comments
We should fix this issue; I would love a better solution than a prop to dismiss on scrolling if we have that option. |
Because this issue has not had activity for over 150 days, we're automatically closing it for house-keeping purposes. Still require assistance? Please, create a new issue with up-to date details. |
Because this issue has not had activity for over 150 days, we're automatically closing it for house-keeping purposes. Still require assistance? Please, create a new issue with up-to date details. |
Because this issue has not had activity for over 150 days, we're automatically closing it for house-keeping purposes. Still require assistance? Please, create a new issue with up-to date details. |
Because this issue has not had activity for over 150 days, we're automatically closing it for house-keeping purposes. Still require assistance? Please, create a new issue with up-to date details. |
This issue has not had activity for over 180 days! We're adding Soft close label and will close it soon for house-keeping purposes. |
keep open |
Environment Information
Please provide a reproduction of the bug in a codepen:
codesandbox: https://codesandbox.io/s/sad-haze-mzy63?file=/example.tsx
Actual behavior:
When scrolling the contaner (green box), the nested popover element is not updating its position to follow trigger:

This happens because the trigger is rendered outside of the scroll container, so popperjs is not able to identify the scroll container as the trigger's scrollable parent: floating-ui/floating-ui#1267
Expected behavior:
In @fluentui/react-northstar, we had the similar issue. It was solved by adding a prop to dismiss popover on scrolling the container element (PR #21453 ).
Priorities and help requested:
Are you willing to submit a PR to fix? (Yes, No) no
Requested priority: (Blocking, High, Normal, Low) low
Products/sites affected: (if applicable)
The text was updated successfully, but these errors were encountered: