@@ -269,7 +269,7 @@ export default class StudyCtrl {
269269 } ;
270270
271271 setTab = ( tab : Tab ) => {
272- if ( tab === 'chapters' ) this . chapters . scroller . request = 'instant' ;
272+ if ( tab === 'chapters' ) this . chapters . scroller . request ( 'instant' ) ;
273273 this . vm . tab ( tab ) ;
274274 this . redraw ( ) ;
275275 } ;
@@ -492,6 +492,7 @@ export default class StudyCtrl {
492492 this . redraw ( ) ;
493493 return true ;
494494 }
495+ this . chapters . scroller . request ( 'smooth' ) ;
495496 this . vm . nextChapterId = id ;
496497 this . vm . justSetChapterId = id ;
497498 if ( this . vm . mode . sticky && this . makeChange ( 'setChapter' , id ) ) {
@@ -505,7 +506,7 @@ export default class StudyCtrl {
505506 this . vm . mode . sticky = false ;
506507 if ( ! this . vm . behind ) this . vm . behind = 1 ;
507508 this . vm . chapterId = id ;
508- this . chapters . scroller . request = 'smooth' ; // sticky scroll request is set in `changeChapter`
509+ this . chapters . scroller . request ( 'smooth' ) ; // sticky scroll request is set in `changeChapter`
509510 this . relay ?. liveboardPlugin ?. reset ( ) ;
510511 await this . xhrReload ( false , ( ) => componentCallbacks ( id ) ) ;
511512 }
@@ -741,7 +742,7 @@ export default class StudyCtrl {
741742 this . setMemberActive ( d . w ) ;
742743 this . data . position = d . p ;
743744 if ( this . vm . mode . sticky ) {
744- this . chapters . scroller . request = 'smooth' ; // non-sticky scroll request is set in `setChapter`
745+ this . chapters . scroller . request ( 'smooth' ) ; // non-sticky scroll request is set in `setChapter`
745746 this . xhrReload ( ) ;
746747 } else {
747748 this . vm . behind ++ ;
@@ -781,8 +782,8 @@ export default class StudyCtrl {
781782 this . vm . mode . write = this . relay ? this . relayRecProp ( ) : this . nonRelayRecMapProp ( this . data . id ) ;
782783 this . vm . chapterId = d . p . chapterId ;
783784 this . vm . nextChapterId = d . p . chapterId ;
784- this . chapters . scroller . request = 'instant' ;
785- } else this . chapters . scroller . request = 'smooth' ;
785+ this . chapters . scroller . request ( 'instant' ) ;
786+ } else this . chapters . scroller . request ( 'smooth' ) ;
786787 this . xhrReload ( true ) ;
787788 } ,
788789 members : d => {
0 commit comments