diff --git a/src/screens/reader/ReaderScreen.tsx b/src/screens/reader/ReaderScreen.tsx index 89e5d1eb8..b526e96fe 100644 --- a/src/screens/reader/ReaderScreen.tsx +++ b/src/screens/reader/ReaderScreen.tsx @@ -132,15 +132,16 @@ export const ChapterContent = ({ VolumeButtonListener.preventDefault(); emmiter.current.addListener('VolumeUp', () => { webViewRef.current?.injectJavaScript(`(()=>{ - window.scrollBy({top:${-Dimensions.get('window') - .height},behavior:'smooth',}) + window.scrollBy({top: -${ + Dimensions.get('window').height * 0.75 + }, behavior: 'smooth'}) })()`); }); emmiter.current.addListener('VolumeDown', () => { webViewRef.current?.injectJavaScript(`(()=>{ - window.scrollBy({top:${ - Dimensions.get('window').height - },behavior:'smooth',}) + window.scrollBy({top: ${ + Dimensions.get('window').height * 0.75 + }, behavior: 'smooth'}) })()`); }); };