mirror of
https://github.com/discourse/discourse.git
synced 2024-11-27 09:56:17 +08:00
FIX: Disable scroll events while on full screen (#14864)
This commit is contained in:
parent
ce91bf0775
commit
3becc55833
|
@ -77,7 +77,12 @@ export default MountWidget.extend({
|
|||
if (this.isDestroyed || this.isDestroying) {
|
||||
return;
|
||||
}
|
||||
if (isWorkaroundActive()) {
|
||||
|
||||
if (
|
||||
isWorkaroundActive() ||
|
||||
document.webkitFullscreenElement ||
|
||||
document.fullscreenElement
|
||||
) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user