You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[EuiFlyout] Popover and other positioned elements within should not scroll with the page #3456
The solution is to add repositionOnScroll={true} to the EuiPopover component. We've talked about a long-term goal that might be able to pass down a context to all EuiFlyout contents in order to supply this automatically. I'll leave this ticket open as a reminder of that goal.
changed the title [-]Positioned elements on flyout should not scroll with the page[/-][+][EuiFlyout] Popover and other positioned elements within should not scroll with the page[/+]on Sep 20, 2020
👋 Hey there. This issue hasn't had any activity for 180 days. We'll automatically close it if that trend continues for another week. If you feel this issue is still valid and needs attention please let us know with a comment.
I had a similar issue when using EuiPopover inside EuiBasicTable. The popover moved along with the scroll. Solved it by adding onScroll event handler on the wrapping div of EuiBasicTable . onScroll={() => handleOpenedPopover(null)}
Activity
snide commentedon May 11, 2020
This is mostly capture by #1236
I'll close that one, since this one has a more general writeup.
cchaos commentedon Sep 20, 2020
The solution is to add
repositionOnScroll={true}to the EuiPopover component. We've talked about a long-term goal that might be able to pass down a context to all EuiFlyout contents in order to supply this automatically. I'll leave this ticket open as a reminder of that goal.[-]Positioned elements on flyout should not scroll with the page[/-][+][EuiFlyout] Popover and other positioned elements within should not scroll with the page[/+]github-actions commentedon Mar 20, 2021
👋 Hey there. This issue hasn't had any activity for 180 days. We'll automatically close it if that trend continues for another week. If you feel this issue is still valid and needs attention please let us know with a comment.
cchaos commentedon Mar 20, 2021
I've added this as a bullet point to #4439, so we don't need this ticket to stay open.
neeerajtk commentedon Sep 9, 2021
I had a similar issue when using
EuiPopoverinsideEuiBasicTable. The popover moved along with the scroll. Solved it by adding onScroll event handler on the wrapping div ofEuiBasicTable.onScroll={() => handleOpenedPopover(null)}