Closed ItsJonQ closed 3 years ago
After the recent SelectDropdown update, I've noticed a z-index issue.
Previously, the menu content was Portal'ed, which allowed for the layering to work correctly. The updated SelectDropdown is no longer Portal'ed, meaning we need to be more specific with where is z-index applied.
SelectDropdown
z-index
Bonus: We should adjust the numbers in our z-index registry to match that from Gutenberg: https://github.com/WordPress/gutenberg/blob/master/packages/base-styles/_z-index.scss
After the recent SelectDropdown update, I've noticed a z-index issue.
Previously, the menu content was Portal'ed, which allowed for the layering to work correctly. The updated
SelectDropdown
is no longer Portal'ed, meaning we need to be more specific with where isz-index
applied.Bonus: We should adjust the numbers in our
z-index
registry to match that from Gutenberg: https://github.com/WordPress/gutenberg/blob/master/packages/base-styles/_z-index.scss