fix setPointerMode

This commit is contained in:
hyunwoo93.cha
2024-07-29 18:19:36 +09:00
parent 5658f7c526
commit 69132585fd

View File

@@ -306,9 +306,12 @@ export default function MainView({ className }) {
(lastPanelAction.indexOf("preview") !== 0 &&
lastPanelAction !== "update")
) {
//do focus itself if has focusedContainerId
dispatch(changeAppStatus({ cursorVisible: false }));
Spotlight.setPointerMode(false);
Spotlight.focus(panel?.name);
//do focus itself if has focusedContainerId
setTimeout(() => {
Spotlight.focus(panel?.name);
}, 0);
}
}, 0);
}