Prevent pages from getting selected while dragging (#454)

This commit is contained in:
schroda
2023-11-12 01:48:10 +01:00
committed by GitHub
parent dabe88385d
commit 0c7498dba6

View File

@@ -175,6 +175,7 @@ export function VerticalPager(props: IReaderProps) {
justifyContent: 'center', justifyContent: 'center',
margin: '0 auto', margin: '0 auto',
width: '100%', width: '100%',
userSelect: 'none',
}} }}
onClick={(e) => { onClick={(e) => {
if (didMouseMove.current) { if (didMouseMove.current) {