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
{{ message }}
Repository navigation
bug(overlay): Weird tooltip issue with the new popover overlay. #32747
Yes, this behavior used to work in the previous version
The previous version in which this bug was not present was
v20
Description
We detected a weird issue with tooltips regarding the popover introduced in v21.
When I put a tooltip on a mat-select, hover over the mat-select, the tooltip is shown. Then I open the mat select and move out my mouse from the browser and bring the mouse back to the browser, the tooltip is shown no matter where i am hovering on with my mouse.
Usually, it is solved after the mat select is closed and opened, then i cannot repro anymore.
But reloading the page and doing it the first time is usually a good repro for the issue.
I'm not sure if I could explain the repro correctly, so here is a short gif:
I scrolled through issues that can be related to my issue, and found this one: #32642
Turning off the new popover with { provide: OVERLAY_DEFAULT_CONFIG, useValue: { usePopover: false } }, solves the issue.
I cannot reproduce it anymore with usePopover: false.
I personally like much better the new overlay approach - it is much easier to apply css rules to the overlay this way. So thank you for making this change!
My issue is that I can hover over any place in my web app - not only the select or around the select - and the tooltip becomes visible. And it is strange that it is only an issue after the mouse leaves the web app/browser and returns.
Of course, this can be an edge case. But we are using this web app in a Jira Plugin/Trello Power-up. And the problem is that in these places my web app is loaded in an iframe inside trello/jira tickets, and in this context it is pretty easy to run into this issue. The stackblitz is a great example for this - it behaves exactly the same way.
I looked into this and found this: when the select panel is open, its backdrop is actually placed inside the <mat-select> element in the DOM, not next to it
because of that, hovering anywhere on the page while the panel is open makes the browser think you're hovering the select itself so the tooltip shows up even when your mouse isn't near it
I have a fix in this PR #33717, please help review, first time contributing open source project
thank you
Activity
crisbeto commentedon Feb 17, 2026
I think this is happening because the overlay is now inside the select so technically hovering over it is the same as hovering on the trigger.
laliconfigcat commentedon Feb 17, 2026
I personally like much better the new overlay approach - it is much easier to apply css rules to the overlay this way. So thank you for making this change!
My issue is that I can hover over any place in my web app - not only the select or around the select - and the tooltip becomes visible. And it is strange that it is only an issue after the mouse leaves the web app/browser and returns.
Of course, this can be an edge case. But we are using this web app in a Jira Plugin/Trello Power-up. And the problem is that in these places my web app is loaded in an iframe inside trello/jira tickets, and in this context it is pretty easy to run into this issue. The stackblitz is a great example for this - it behaves exactly the same way.
laliconfigcat commentedon Jul 17, 2026
Hello @crisbeto ,
Do you have any updates regarding this issue? It would be awesome to switch to the modern overlay approach.
Thanks!
pandikapinata commentedon Aug 22, 2026
hi @laliconfigcat @crisbeto ,
I looked into this and found this: when the select panel is open, its backdrop is actually placed inside the
<mat-select>element in the DOM, not next to itbecause of that, hovering anywhere on the page while the panel is open makes the browser think you're hovering the select itself so the tooltip shows up even when your mouse isn't near it
I have a fix in this PR #33717, please help review, first time contributing open source project
thank you