Auto open next page after first change in single/double pager
This commit is contained in:
@@ -40,7 +40,7 @@ const BaseReaderAutoScrollContextProvider = ({
|
||||
|
||||
const changePage = useCallback(() => {
|
||||
openPage('next', 'ltr');
|
||||
}, []);
|
||||
}, [openPage]);
|
||||
|
||||
const automaticScrolling = useAutomaticScrolling(
|
||||
isContinuousReadingModeActive ? scrollRef : changePage,
|
||||
|
||||
Reference in New Issue
Block a user