Tooltip.js doesn't properly handle blur event on mobile
See original GitHub issueCodePen demo
No CodePen needed, since it does not work even on the homepage of tooltip.js https://popper.js.org/tooltip-examples.html
Steps to reproduce the problem
- Open the given homepage on iPhone and scroll to see “It just works Hover me to see 4 tooltips!” text
- Touch this text and observe nothing
What is the expected behavior?
I expect that all 4 tooltips will show up (it works on Android, Windows Mobile and everywhere I could test except iPhone)
What went wrong?
Tooltip does not show up.
Any other comments?
Tested on iOS 6 with Safari, Chrome and Firefox and nothing.
It does work only when element is <a>
Issue Analytics
- State:
- Created 5 years ago
- Comments:8 (2 by maintainers)
Top Results From Across the Web
Focus tooltips don't show when manually triggerring ... - GitHub
I've been porting our tooltip library to Tooltip.js and noticed that if have a... ... focus on that field during the blur event,...
Read more >Why is blur event not fired in iOS Safari Mobile (iPhone / iPad)?
The blur event does not fire because when you click outside the anchor tag on a non-clickable element, iOS ignores the click (and...
Read more >Tooltips - Bootstrap
The tooltip plugin generates content and markup on demand, and by default places tooltips after their trigger element. Trigger the tooltip via JavaScript:...
Read more >Accessibility - React
These are toolboxes filled with HTML attributes that are fully supported in JSX and enable us to construct fully accessible, highly functional React...
Read more >Tooltips – Web Accessibility for Developers
Keyboard operability for a tooltip or, rather, the owning element is relatively simple. As a keyboard equivalent for the .on(mouseout) described above, .on(blur) ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@FezVrasta, yes, like this:
Hi, I’m interrupting the development of the
tooltip.js
library to focus on the development of@popperjs/core
(Popper.js v2).Please consider switching to Tippy.js, which is a way better alternative to Tooltip.js and is well maintained. Tippy.js still uses Popper.js under the hood, so you will find all your favourite features.
I’ll close this issue.