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

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

diff --git a/app/assets/javascripts/discourse/app/components/scrolling-post-stream.js b/app/assets/javascripts/discourse/app/components/scrolling-post-stream.js
index da490bb..8234c21 100644
--- a/app/assets/javascripts/discourse/app/components/scrolling-post-stream.js
+++ b/app/assets/javascripts/discourse/app/components/scrolling-post-stream.js
@@ -77,7 +77,12 @@ export default MountWidget.extend({
     if (this.isDestroyed || this.isDestroying) {
       return;
     }
-    if (isWorkaroundActive()) {
+
+    if (
+      isWorkaroundActive() ||
+      document.webkitFullscreenElement ||
+      document.fullscreenElement
+    ) {
       return;
     }
 

GitHub sha: 3becc55833a83fb13546e3d95a74f2ae37bc2223

This commit appears in #14864 which was approved by CvX. It was merged by pmusaraj.