Skip to content

Control popover by hovering and outside interactions #6563

Answered by snowystinger
daninus14 asked this question in Q&A
Discussion options

You must be logged in to vote

There's no such thing as hover on a touch screen. This is why tooltips are not accessible. Checking screen resolution is not a reliable way to check if the environment is touch only, as you've noted, and there isn't any way to determine this as of the time of writing this. People can connect a keyboard to an iPad for instance, or they may be using VoiceOver.

I'm guessing the onPress isn't firing on the button in the dialog trigger because there is an underlay. You may have to do more work to hook up events to support this. Overall it's not recommended because hover isn't an accessible pattern.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@daninus14
Comment options

@snowystinger
Comment options

@daninus14
Comment options

Answer selected by daninus14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants