-
-
Notifications
You must be signed in to change notification settings - Fork 5.9k
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
Tooltip: stop relying on Browser touch
property
#7535
Conversation
f3dbf1a
to
98dd73f
Compare
Lines 106 to 115 in 0f904a5
Lines 304 to 320 in 0f904a5
In fact for modern browsers we could avoid handling clicks, and rely just on compatibility |
Going beyond subject: I'd prefer tooltips to behave in slightly different way: if opened on Reason: while such behavior is quite similar to current - it is more flexible, as it would also allow to keep tooltip opened, for convenience. In this way we could use non-permanent tooltips with some interactive content (e.g. html link). |
Do you think
Originally posted by @johnd0e in #6978 (comment) |
I think that mentioned code was written with some assumptions in mind, which used to be true in that times. No, I do not think that it's about performance here. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I didn't tested it but looks good
@mourner your part to approve and merge 😉 |
Rationale: #6978