Skip to content

Commit

Permalink
Event handling improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
thecalcc committed Oct 9, 2023
1 parent 0fb638b commit 7cdc1b4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion scripts/core/ui/components/drop-zone-3.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,10 @@ export class DropZone3 extends React.PureComponent<IDropZoneComponentProps, ISta
<div
onDragOver={(e) => {
e.preventDefault();
this.setState({dragging: true});

if (this.state.dragging != true) {
this.setState({dragging: true});
}
}}
onDragLeave={(e) => {
e.preventDefault();
Expand Down

0 comments on commit 7cdc1b4

Please sign in to comment.