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
For a menu inside a scaled div, the top and left properties on MenuPortal styles are calculated based on the viewport instead of based on the "containing block", which is the scaled div.
Bug description
For a menu inside a scaled div, the
top
andleft
properties on MenuPortal styles are calculated based on the viewport instead of based on the "containing block", which is the scaled div.This causes the menuportal to be displayed to the bottom-right of where it should be:
The issue is simple to reproduce by placing a ReactSelect component inside of a div with a
transform: scale
style.sandbox link
The text was updated successfully, but these errors were encountered: