This commit is contained in:
tidy-dev 2021-03-10 09:12:12 -05:00
parent 8d334c287c
commit 0c45a5667e

View file

@ -2693,11 +2693,7 @@ export class App extends React.Component<IAppProps, IAppState> {
* order for `onDrop` to fire.
*/
private onDragOver = (e: React.DragEvent<HTMLDivElement>) => {
// We currently do not drag anything when a modal is open.
// This will prevent needless checking of dragged items.
if (!this.isShowingModal) {
e.preventDefault()
}
e.preventDefault()
}
public render() {