Skip to content
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

Make tooltips more touchscreen-friendly #272

Merged
merged 1 commit into from
Nov 11, 2024
Merged

Make tooltips more touchscreen-friendly #272

merged 1 commit into from
Nov 11, 2024

Commits on Nov 8, 2024

  1. Make tooltips more touchscreen-friendly

    The current behavior on touchscreens is that tooltips will open as soon as you touch the trigger and remain open indefinitely due to focus and simulated hover. This feels unexpected, particularly on mobile.
    
    The solution implemented here is to ignore non-visible focus and simulated hover events, and instead allow tooltips to be opened by long-pressing on the trigger. This matches the behavior of native tooltips on Android (though I don't know whether iOS has this same interaction pattern).
    robintown committed Nov 8, 2024
    Configuration menu
    Copy the full SHA
    9b0ec47 View commit details
    Browse the repository at this point in the history