Skip to content
This repository was archived by the owner on Sep 6, 2021. It is now read-only.

Commit a100609

Browse files
committed
Merge pull request #10079 from adobe/dangoor/click-during-rename
During rename in the tree, allow only default behavior. Don't bubble event to nodes that would do otherwise.
2 parents 83088e7 + 718a6a7 commit a100609

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/project/FileTreeView.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -224,6 +224,7 @@ define(function (require, exports, module) {
224224
}
225225
// Return true only for mouse down in rename mode.
226226
if (this.props.entry.get("rename")) {
227+
e.stopPropagation();
227228
return true;
228229
}
229230
return false;

0 commit comments

Comments
 (0)