We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 15d8b43 commit be4bb32Copy full SHA for be4bb32
client/modules/IDE/components/Sidebar.jsx
@@ -34,7 +34,6 @@ export default function SideBar() {
34
35
const sidebarOptionsRef = useRef(null);
36
37
- /** Close dropdown when clicking outside */
38
useEffect(() => {
39
function handleClickOutside(event) {
40
if (
@@ -85,7 +84,10 @@ export default function SideBar() {
85
84
/>
86
)}
87
<section className={sidebarClass}>
88
- <header className="sidebar__header">
+ <header
+ className="sidebar__header"
89
+ onContextMenu={toggleProjectOptions}
90
+ >
91
<h3 className="sidebar__title">
92
<span>{t('Sidebar.Title')}</span>
93
</h3>
0 commit comments