-
Notifications
You must be signed in to change notification settings - Fork 286
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to select items from dropdown due to overlapping header #6576
Comments
Bug was introduced while trying to fix the issue described here where the WordPress left menu is overlapping tooltips. The |
IB ✔️ |
18 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug Description
When we have lots of items in a dropdown menu(select) and which open upwards, it is impossible to select some items since they are hidden by the header which has a higher z-index.
This was previously fixed in #2885 and was reintroduced somewhere along the line.
Steps to reproduce
Screenshots
From the screenshot there is another account before the "Asvin test" account which is completely hidden by the header and inaccessible.
Do not alter or remove anything below. The following sections will be managed by moderators only.
Acceptance criteria
Implementation Brief
assets/js/components/JoyrideTooltip.js
,onTourStart
: callback function called when tour has startedonTourEnd
: callback function called when tour has endedcallback
prop forJoyride
to call the above functions:type === EVENTS.TOUR_START
, callonTourStart
,type === EVENTS.TOUR_END
, callonTourEnd
.assets/js/modules/analytics/components/settings/GA4SettingsControls.js
,JoyrideTooltip
.onTourStart
should have a function as value which adds a custom class name (for e.ggooglesitekit--has-visible-tooltip
) todocument.body
.onTourEnd
should have a function as value which removes the custom class name which was added byonTourStart
.z-index
of.googlesitekit--has-visible-tooltip #adminmenuwrap
to10
, which is lower than thez-index
of the tooltip which itself has a lowerz-index
than the header.Test Coverage
QA Brief
Steps to reproduce
section and ensure that select dropdowns show above the header.Changelog entry
The text was updated successfully, but these errors were encountered: