Browse Source

fix(FIlmstrip): disable default overscrolling

With the default overscrolling policy when a user overscroll the
filmstrip the scroll focus is moved to the main window and it looks like
the scroll is not working.
master
Hristo Terezov 3 years ago
parent
commit
f83559568d

+ 2
- 0
css/filmstrip/_horizontal_filmstrip.scss View File

@@ -63,6 +63,8 @@
63 63
     }
64 64
 
65 65
     .remote-videos {
66
+        overscroll-behavior: contain;
67
+
66 68
         & > div {
67 69
             transition: opacity 1s;
68 70
             position: absolute;

+ 1
- 0
css/filmstrip/_tile_view.scss View File

@@ -15,6 +15,7 @@
15 15
         box-sizing: border-box;
16 16
         display: flex;
17 17
         flex-direction: column;
18
+        overscroll-behavior: contain;
18 19
     }
19 20
 
20 21
     .filmstrip__videos .videocontainer {

+ 1
- 0
css/filmstrip/_vertical_filmstrip.scss View File

@@ -114,6 +114,7 @@
114 114
     .remote-videos {
115 115
         display: flex;
116 116
         transition: height .3s ease-in;
117
+        overscroll-behavior: contain;
117 118
 
118 119
         & > div {
119 120
             position: absolute;

Loading…
Cancel
Save