We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5e51841 commit 8abf96fCopy full SHA for 8abf96f
client/modules/IDE/components/Sidebar.jsx
@@ -91,6 +91,7 @@ export default function SideBar() {
91
<ul className="sidebar__project-options">
92
<li>
93
<button
94
+ onMouseDown={(e) => e.preventDefault()} // prevents triggering the blur event before onClick
95
aria-label={t('Sidebar.AddFolderARIA')}
96
onClick={() => {
97
dispatch(newFolder(rootFile.id));
@@ -103,6 +104,7 @@ export default function SideBar() {
103
104
</li>
105
106
107
108
aria-label={t('Sidebar.AddFileARIA')}
109
110
dispatch(newFile(rootFile.id));
0 commit comments