Fixed iPad swipe down gesture to exit fullscreen
This commit is contained in:
@@ -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);
|
||||
}
|
||||
Reference in New Issue
Block a user