fix: prevent horizontal rail auto-scroll
This commit is contained in:
1 parent
cf7ec0a31f
commit
6afd21fe98
2 files changed
+37
-6
No files matched your search
@@ -1324,7 +1324,7 @@ const configureEditorPlugins = (defaults: Plugins<DragDropManager>) =>
|
||||
dropAnimation: null,
|
||||
keyboardTransition: { duration: 100 },
|
||||
});
|
||||
if (plugin === AutoScroller) return AutoScroller.configure({ acceleration: 24, threshold: { x: 0.16, y: 0.16 } });
|
||||
if (plugin === AutoScroller) return AutoScroller.configure({ acceleration: 24, threshold: { x: 0, y: 0.16 } });
|
||||
return plugin;
|
||||
});
|
||||
|
||||
|
||||
Reference in new issue
Block a user