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

Tooltips appear after tap on Android #930

Open
ryanodd opened this issue Jun 3, 2022 · 0 comments
Open

Tooltips appear after tap on Android #930

ryanodd opened this issue Jun 3, 2022 · 0 comments

Comments

@ryanodd
Copy link

ryanodd commented Jun 3, 2022

🐛 Bug report

Current Behavior

On my android device in any browser, buttons wrapped in <Tooltip>s will have their tooltips appear by tapping buttons.

Expected behavior

Since hover isn't possible on touch devices, I'd expect no tooltips to appear. This is the case on iOS browsers.

Reproducible example

Visit https://reach.tech/tooltip/ on an android device & try tapping the buttons in the examples. This reproduces on Samsung, Google Pixel, OnePlus, & Huawei devices.

Suggested solution(s)

Maybe android browsers are simulating hover events. I wouldn't be sure how to solve that. Possible related: Samsung devices pass the hover: hover media query.

Additional context

Your environment

Software Name(s) Version
Reach Package @reach/tooltip 0.16.2
React
Browser Chrome 102.0.5005.59
Assistive tech
Node
npm/yarn
Operating System Android (Samsung Galaxy S21 FE) 12
@ryanodd ryanodd changed the title Tooltips appear after tap on Android Tooltips appear after tap on Samsung Galaxy S21 FE Jun 7, 2022
@ryanodd ryanodd changed the title Tooltips appear after tap on Samsung Galaxy S21 FE Tooltips appear after tap on Android Jun 7, 2022
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

No branches or pull requests

1 participant