Skip to content

Commit e5ee1cc

Browse files
committed
fix issue#3303 ProjectOptions closes
The issue stemmed from the use of a setTimeout in the onBlur handler that closed the project options too quickly. Specifically, the setTimeout(() => dispatch(closeProjectOptions()), 0) was causing the options to close even if the user had not finished interacting with the menu. This was particularly problematic with trackpad input, where the timing of the events could be misinterpreted.
1 parent a16d992 commit e5ee1cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

client/modules/IDE/components/Sidebar.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,4 +131,4 @@ export default function SideBar() {
131131
</section>
132132
</FileDrawer>
133133
);
134-
}
134+
}

0 commit comments

Comments
 (0)