Skip to content

Commit bb88cc9

Browse files
kammeowskhanniie
authored andcommitted
Fix: Close file options drowndown when clicking outside (Issue #3332)
1 parent 79c356e commit bb88cc9

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)