Skip to content

Commit 71ded9d

Browse files
authored
fix: trashcan flyout opening on drag (#7691)
1 parent f363252 commit 71ded9d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

core/trashcan.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -545,7 +545,7 @@ export class Trashcan
545545

546546
/** Inspect the contents of the trash. */
547547
click() {
548-
if (!this.hasContents()) {
548+
if (!this.hasContents() || this.workspace.isDragging()) {
549549
return;
550550
}
551551
this.openFlyout();

0 commit comments

Comments
 (0)