File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 87
87
transform : translate3d (0 , 0 , 0 );
88
88
89
89
.md-app-toolbar {
90
- position : fixed ;
90
+ position : absolute ;
91
91
top : 0 ;
92
92
}
93
93
}
Original file line number Diff line number Diff line change
1
+ import raf from 'raf'
1
2
import MdPropValidator from 'core/utils/MdPropValidator'
2
3
3
4
const mdAppModes = [
@@ -23,6 +24,7 @@ export default {
23
24
data : ( ) => ( {
24
25
revealTimer : null ,
25
26
revealLastPos : 0 ,
27
+ manualTick : false ,
26
28
MdApp : {
27
29
options : {
28
30
mode : null ,
@@ -242,7 +244,7 @@ export default {
242
244
} ,
243
245
handleScroll ( $event ) {
244
246
if ( this . MdApp . toolbar . element ) {
245
- window . requestAnimationFrame ( ( ) => {
247
+ raf ( ( ) => {
246
248
if ( this . mdWaterfall ) {
247
249
this . handleWaterfallScroll ( $event )
248
250
}
You can’t perform that action at this time.
0 commit comments