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

FIX: Disable scroll events while on full screen #14864

Merged
merged 2 commits into from Nov 9, 2021

Conversation

pmusaraj
Copy link
Contributor

@pmusaraj pmusaraj commented Nov 9, 2021

On Safari/Firefox (macOS), toggling full screen on a video triggers several scroll events, and confuses the post stream. On Safari, this results in scrolling ~20 posts upwards after exiting a fullscreen video.

This PR disables scroll calculations while there is a full screen element which at least partially addresses the issue.

On Safari/Firefox (macOS), toggling full screen on a video triggers
several scroll events, and confuses the post stream. On Safari, this
results in scrolling upwards after exiting a fullscreen video.

This PR disables scroll calculations while there is a full screen
element which seems to partially address the issue.
@pmusaraj pmusaraj merged commit 3becc55 into main Nov 9, 2021
@pmusaraj pmusaraj deleted the fix-safari-ff-video-fullscreen branch November 9, 2021 19:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants