fix setPointerMode
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user