FIX: Disable scroll events while on full screen (#14864)

This commit is contained in:
Penar Musaraj 2021-11-09 14:29:05 -05:00 committed by GitHub
parent ce91bf0775
commit 3becc55833
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -77,7 +77,12 @@ export default MountWidget.extend({
if (this.isDestroyed || this.isDestroying) {
return;
}
if (isWorkaroundActive()) {
if (
isWorkaroundActive() ||
document.webkitFullscreenElement ||
document.fullscreenElement
) {
return;
}