Always use calculated scrollbar size

This commit is contained in:
schroda
2024-09-06 23:50:38 +02:00
parent d9777c179a
commit 4662a9175f
5 changed files with 18 additions and 8 deletions

View File

@@ -488,7 +488,7 @@ export function Reader() {
openNextChapter(ChapterOffset.PREV);
}, [openNextChapter]);
const scrollbarHeight = MediaQuery.useGetScrollbarSize();
const scrollbarHeight = MediaQuery.useGetScrollbarSize('height');
if (isLoading) {
return (