Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

piofinn
Copy link
Contributor

@piofinn piofinn commented Dec 2, 2022

Safari uses the escape key as a shortcut for exiting full screen. Stopping propagation is not enough to prevent this behaviour. Use preventDefault instead of in addition to stopPropagation to avoid messing with the users' browser experience.

Closes: #264

Safari uses the escape key as a shortcut for exiting full screen.
Stopping propagation is _not_ enough to prevent this behaviour. Use
`preventDefault` instead of `stopPropagation` to avoid messing with the
users' browser experience.

Closes: timc1#264
@vercel
Copy link

vercel bot commented Dec 2, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
kbar ✅ Ready (Inspect) Visit Preview Dec 2, 2022 at 10:50PM (UTC)

@timc1 timc1 merged commit 6721467 into timc1:main Dec 3, 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

Successfully merging this pull request may close these issues.

Safari exits full screen when closing the menu using the escape key

2 participants