Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Fix menu closing on iOS, specifically on iPad (Fixes #3087) #3158

Closed

Conversation

OwenEdwards
Copy link
Member

Description

It is now possible to close menus on an iPad; this fixes #3087.

Tracked the problem down to iOS Safari's weird/buggy :hover handling (see this SO post).

Specific Changes proposed

Add an extra class to the player if it has working hover, and modify the menu CSS to only have the :hover handling if hover works. (Note that I didn't change anything for the inline volume menu's hover behavior since that isn't displayed on an iPad).

Requirements Checklist

  • Feature implemented / Bug fixed
  • If necessary, more likely in a feature request than a bug fix
  • Reviewed by Two Core Contributors

@gkatsev
Copy link
Member

gkatsev commented Mar 7, 2016

LGTM.

@gkatsev gkatsev added confirmed patch This PR can be added to a patch release. labels Mar 7, 2016
@gkatsev gkatsev closed this in f82a3d1 Mar 7, 2016
@OwenEdwards OwenEdwards deleted the fix/ios-hover-handling branch March 12, 2016 01:38
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
confirmed patch This PR can be added to a patch release.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Can't close CC button on iPad in browser mode
2 participants