-
Notifications
You must be signed in to change notification settings - Fork 14
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
[bug]: post-popovercontainer
promotes to Top Layer, causing UI overlap issues
#4398
Comments
Resolution: Remove popovercontainer from the megadropdown and add a margin top to floating ui corresponding to the header height and accept that open popovers or tooltips overlap the header because they are in the top layer. |
The |
Not sure if we want to auto-hide something the user opened on scroll, we don't do that with anything else. My thought was just to flip positions a little bit earlier when the position is 'top'. |
@gfellerph do we have anything else overflowing the header? I also checked the native select and the default behavior is either to close the popup menu (Chrome) or to prevent scroll (Firefox). Since we already have a resolution for this ticket so I am fine with simply implementing it, I added this comment as additional possibility. |
@alizedebray I did not consider just hiding it, that might indeed be the best way to handle it. @alionazherdetska can you check in connection with the new header height measurement? |
The post-popovercontainer component is automatically promoted to the top layer when used (due to its implementation of the popover attribute). This behavior causes conflicts in UI layering:
The post-popovercontainer appears above critical elements like the header (e.g., tooltips or popovers overlapping the header).
https://github.com/user-attachments/assets/ce080ac9-4922-40e3-9bb9-11ffc7ebb735
2. Layering Conflicts:
If the header is also implemented as a top-layer element, post-popovercontainer used in megadropdown added later take precedence in the top layer, rendering firing the animation on top of the header.
https://github.com/user-attachments/assets/45fc6112-de58-4f1b-8623-18e0d88d5fe5
Desktop:
Tasks
The text was updated successfully, but these errors were encountered: