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
Stuck tooltips #3481
Comments
Needs reliable steps to reproduce. I cannot recreate this issue. Previous issues with disabled buttons were intended to be addressed in #3177. |
I can't replicate this sporadically. I'll see if I can get a replication case. |
I've only seen it happen with |
I've got |
Essentially, before it happens, the button is disabled but if you hover over that disabled button, the tooltip still appears. |
Still not 100%, but I have it happening regularly now. |
An interesting part of it is that when you move the cursor over the buttons in the toolbar, the tooltip will only appear if you have previously moved over a non-disabled button. If you have moved over a disabled button, then the tooltip won't appear. I think it is related to that. |
The best replication case I have is focus the PostTitle, and move the mouse left and right past either end of the header toolbar, stopping at each end. You don't need to click at all. Vary the speed and within a minute, it will probably happen once. |
Nice steps. I was eventually able to reproduce. It seems that the issue is occurring at this check: gutenberg/components/tooltip/index.js Lines 125 to 133 in 3f31557
Where in some cases the event target is children of the SVG, in my experience a |
Happens often that I end up with stuck tooltips in the UI:
The text was updated successfully, but these errors were encountered: