Fixed iPad swipe down gesture to exit fullscreen

This commit is contained in:
2025-11-07 16:35:39 -05:00
parent e08833e71c
commit 5c77376272
2 changed files with 163 additions and 36 deletions
+28
View File
@@ -361,4 +361,32 @@ body.fullscreen-active .main-wrapper {
animation: none !important;
transition: none !important;
}
}
/* Prevent pull-to-refresh and overscroll on touch devices in fullscreen */
.fullscreen-mode {
overscroll-behavior: none;
-webkit-overflow-scrolling: touch;
}
body.fullscreen-active {
overscroll-behavior: none;
position: fixed;
width: 100%;
height: 100%;
overflow: hidden;
}
/* Ensure content is scrollable within fullscreen container */
.fullscreen-mode {
overflow-y: auto;
overflow-x: hidden;
-webkit-overflow-scrolling: touch;
}
/* Prevent iOS Safari bounce effect */
.fullscreen-mode,
.fullscreen-mode * {
-webkit-transform: translateZ(0);
transform: translateZ(0);
}