Fixed the bug of being unable to use ctrl+scroll wheel to adjust zoom. Add full page scroll to Home #14

Merged
FatttSnake merged 3 commits from FatttSnake into dev 2023-09-12 15:49:19 +08:00
Showing only changes of commit c7d91eba8e - Show all commits

View File

@@ -202,7 +202,12 @@ const HideScrollbar = forwardRef<HideScrollbarElement, HideScrollbarProps>((prop
return () => {
window.removeEventListener('resize', windowResizeListener)
}
}, [isPreventScroll])
}, [
handleDefaultClickMiddleMouseButton,
handleDefaultTouchmove,
handleDefaultWheel,
isPreventScroll
])
return (
<>