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

Disable tooltip in ReaderControls on Mobile-Web #2277

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

edamboritz
Copy link
Contributor

Description

Disables the ability to hover over a tooltip in mobile web settings

Code Changes

Use explicit touch/mouse css declarations to disable inconsistent tool tip behavior on mobile browsers
Adds media queries to check for hover implementation and pointer granularity (coarse on touch devices) to make sure only mouse enabled environments respond to hover

Notes

This is due to an inconsistent implementation of touch to pseudo states like hover in different browser engines that makes it impossible to use correctly in mobile browsers. So in Firefox it simply would not show anyway and in Chrome the tooltip would show on touch instead of hover but then get stuck because there is no parallel off "not hover"

…onsistent tool tip behavior on mobile browsers

This is due to an inconsistent implementation of touch to pseudo states like hover in different browser engines that makes it impossible to use correctly in mobile browsers.
static/css/s2.css Outdated Show resolved Hide resolved
static/css/s2.css Outdated Show resolved Hide resolved
static/css/s2.css Show resolved Hide resolved
static/css/s2.css Outdated Show resolved Hide resolved
static/css/s2.css Outdated Show resolved Hide resolved
static/css/s2.css Outdated Show resolved Hide resolved
@yitzhakc yitzhakc added this pull request to the merge queue Feb 6, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Feb 6, 2025
@yitzhakc yitzhakc added this pull request to the merge queue Feb 12, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Feb 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants