Skip to content

Commit a0cadf2

Browse files
committed
:FIX : Unable to Create Files or Folders Through the File Actions Modal
1 parent 8abf96f commit a0cadf2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

client/modules/IDE/components/Sidebar.jsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,7 @@ export default function SideBar() {
118118
{isAuthenticated && (
119119
<li>
120120
<button
121+
onMouseDown={(e) => e.preventDefault()} // prevents triggering the blur event before onClick
121122
aria-label={t('Sidebar.UploadFileARIA')}
122123
onClick={() => {
123124
dispatch(openUploadFileModal(rootFile.id));

0 commit comments

Comments
 (0)