Auto open next page after first change in single/double pager

This commit is contained in:
schroda
2024-12-30 01:59:40 +01:00
parent e2dd5ad211
commit ce49084a89

View File

@@ -40,7 +40,7 @@ const BaseReaderAutoScrollContextProvider = ({
const changePage = useCallback(() => {
openPage('next', 'ltr');
}, []);
}, [openPage]);
const automaticScrolling = useAutomaticScrolling(
isContinuousReadingModeActive ? scrollRef : changePage,