mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2025-12-24 20:42:43 +00:00
Move e.preventDefault to after isDragging check
This commit is contained in:
@@ -77,9 +77,9 @@ const SplitPane = createClass({
|
||||
},
|
||||
|
||||
handleMove : function(e){
|
||||
e.preventDefault();
|
||||
if(!this.state.isDragging) return;
|
||||
|
||||
e.preventDefault();
|
||||
const newSize = this.limitPosition(e.pageX);
|
||||
this.setState({
|
||||
currentDividerPos : newSize,
|
||||
|
||||
Reference in New Issue
Block a user