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
I'm also having this same issue. I tested out the fix above (thanks @mbixby) and it seems to be working. Is it possible to port this fix into v1-alpha/next?
Looks like there's more to this issue then simply taking into account scrollParent.scrollTop since the active item will not persistently show in the same position within the menu. When the menu is made visible, the active item may end up appearing at the top or the bottom of the menu thereby loosing the alignment with the anchor element.
Version: next
<Menu />
with scrolling list of items is not positioned correctly if the active item is deep in the scroll view.https://gfycat.com/ThinAffectionateAlbertosaurus
Quick fix:
getContentAnchorOffset()
here https://github.com/callemall/material-ui/blob/next/src/internal/Popover.js#L344 should takescrollTop
into account:Edit:
The text was updated successfully, but these errors were encountered: