-
-
Notifications
You must be signed in to change notification settings - Fork 78.5k
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
V5: Tooltip remains visible on top of modal in Chrome for Android #35202
Comments
I would like to contribute to this issue |
To clarify your test case, you're using the tooltip to show something on hover and would like it to be hidden behind the modal? If so, @GeoSot wouldn't it be a CSS thing related to competitive |
I would expect the behavior to be the same on mobile / touch as it is on desktop / mouse, which would be the tooltip closing as the modal opens (I assume the desirable behaviour in most use cases). Currently however, the tooltip stays open on mobile / touch, probably due to hover staying on the trigger element even though the modal appeared underneath the cursor. |
Here the tooltip has a z-index of 1080 while the modal has 1055 |
I see similar behaviour when you have a tooltip in a overflow area. How to reproduce? Expected behaviour Sidenote 1 Sidenote 2 Sidenote 3 |
I am also facing this issue. |
Prerequisites
Describe the issue
When an element with a tooltip opens a modal, the tooltip remains visible on top of the modal, even though it should have been hidden by the browser focus moving to the modal element.
The behavior can be observed in the Pen below, in Chrome for Android, or in device emulation mode (touch enabled) on Chrome and Edge for Windows 10.
Reduced test cases
https://codepen.io/PatrickKennisnet/pen/KKvdeLw
What operating system(s) are you seeing the problem on?
Android
What browser(s) are you seeing the problem on?
Chrome
What version of Bootstrap are you using?
5.1.1
The text was updated successfully, but these errors were encountered: