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
     }
63
     }
64
 
64
 
65
     .remote-videos {
65
     .remote-videos {
66
+        overscroll-behavior: contain;
67
+
66
         & > div {
68
         & > div {
67
             transition: opacity 1s;
69
             transition: opacity 1s;
68
             position: absolute;
70
             position: absolute;

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

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

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

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

Loading…
Cancel
Save