-
Notifications
You must be signed in to change notification settings - Fork 656
Description
Describe the bug
SelectPanel not scrolling with anchoring element when parent containers have different overflow properties. This also happens with ActionMenu.
To Reproduce
In memex list view:
- Go to an existing memex project (list view)
- Click on any downward carets to open the
SelectPanel - Start scrolling the table
SelectPaneldoes not scroll with the anchoring element that is the table cell
In bulk add side panel:
- Go to an existing memex project and click on the
+icon in the omnibar at the bottom of the page - Click on the repository selector to open the
SelectPanel - Start scrolling the table
SelectPaneldoes not scroll with the repository selector button
In Project settings (implements ActionMenu):
- Make sure you have admin permissions and go to an existing project
- Click on the three dots on the top right corner -> Settings -> go to bottom of the page
- Click on the button next to 'Visibility'
- Start scrolling the page
ActionMenudoes not scroll with the button
Expected behavior
SelectPanel and ActionMenu should scroll correctly with their anchoring elements.
Desktop (please complete the following information):
- OS: macOS Montery 12.4
- Browser: Chrome
- Version 103.0.5060.114
Additional context
After doing some deductions with @siddharthkp, we suspect that the scrolling problem is caused by wrapping SelectPanel or ActionMenu in nested containers with different overflow properties, which causes the getClippingRect function to find the wrong parent node (code).
Reactions are currently unavailable
