Skip to content

Commit 3f99ec9

Browse files
committed
remove call form onDragLeave
1 parent 3747a5c commit 3f99ec9

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

lib/ReactGridLayout.jsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -774,7 +774,6 @@ export default class ReactGridLayout extends React.Component<Props, State> {
774774
};
775775

776776
onDragLeave: EventHandler = e => {
777-
e.preventDefault(); // Prevent any browser native action
778777
if (this.dragEnterCounter > 0) {
779778
this.dragEnterCounter--;
780779
}

0 commit comments

Comments
 (0)