Skip to content

Commit 2f99876

Browse files
authored
Merge pull request #3333 from kammeows/fix-file-options-dropdown
Fix: Close file options drowndown when clicking outside (Issue #3332)
2 parents d165d63 + 52d1603 commit 2f99876

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

client/modules/IDE/components/FileNode.jsx

+1
Original file line numberDiff line numberDiff line change
@@ -292,6 +292,7 @@ const FileNode = ({
292292
ref={fileOptionsRef}
293293
tabIndex="0"
294294
onClick={toggleFileOptions}
295+
onBlur={() => setTimeout(hideFileOptions, 200)}
295296
>
296297
<DownArrowIcon focusable="false" aria-hidden="true" />
297298
</button>

0 commit comments

Comments
 (0)