From f337925af9f873ff3c1b92ebb2c6d4906c4e12bb Mon Sep 17 00:00:00 2001 From: Gazook89 <58999374+Gazook89@users.noreply.github.com> Date: Tue, 20 Sep 2022 23:46:25 -0500 Subject: [PATCH] add e.preventDefault() to mousedown event --- shared/naturalcrit/splitPane/splitPane.jsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/shared/naturalcrit/splitPane/splitPane.jsx b/shared/naturalcrit/splitPane/splitPane.jsx index f7ad4bed4..38f84b220 100644 --- a/shared/naturalcrit/splitPane/splitPane.jsx +++ b/shared/naturalcrit/splitPane/splitPane.jsx @@ -69,7 +69,8 @@ const SplitPane = createClass({ this.setState({ isDragging: false }); }, - handleDown : function(){ + handleDown : function(e){ + e.preventDefault(); this.setState({ isDragging: true }); //this.unFocus() },