[No Jira Issue] modify the onClickBack function

1. PlayerPanel.jsx

- commented out: ev.preventDefault
- uncommented: ev.stopPropagation
This commit is contained in:
younghoon100.park
2024-11-13 14:53:11 +09:00
parent 75b8a684da
commit 5a2346a7f3

View File

@@ -837,7 +837,7 @@ const PlayerPanel = ({
) {
setSideContentsVisible(false);
ev?.stopPropagation();
if (ev && typeof ev.preventDefault === "function") ev.preventDefault();
// ev?.preventDefault();
return;
}
@@ -861,16 +861,16 @@ const PlayerPanel = ({
})
);
}
// ev?.stopPropagation();
if (ev && typeof ev.preventDefault === "function") ev.preventDefault();
ev?.stopPropagation();
// ev?.preventDefault();
return;
}
if (!panelInfo.modal) {
dispatch(PanelActions.popPanel());
dispatch(changeAppStatus({ cursorVisible: false }));
// ev?.stopPropagation();
if (ev && typeof ev.preventDefault === "function") ev.preventDefault();
ev?.stopPropagation();
// ev?.preventDefault();
return;
}
},