0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-02 10:42:44 +00:00

add e.preventDefault() to mousedown event

This commit is contained in:
Gazook89
2022-09-20 23:46:25 -05:00
parent 8ebfc772f3
commit f337925af9

View File

@@ -69,7 +69,8 @@ const SplitPane = createClass({
this.setState({ isDragging: false }); this.setState({ isDragging: false });
}, },
handleDown : function(){ handleDown : function(e){
e.preventDefault();
this.setState({ isDragging: true }); this.setState({ isDragging: true });
//this.unFocus() //this.unFocus()
}, },