playerpreview focus action

This commit is contained in:
yonghyon
2024-07-30 11:39:59 +09:00
parent 4f27909bf8
commit 4a91fd91a5

View File

@@ -47,7 +47,10 @@ export const startVideoPlayer =
)
);
if (modal && modalContainerId && !spotlightDisable) {
Spotlight.focus(modalContainerId);
Spotlight.setPointerMode(false);
setTimeout(() => {
Spotlight.focus(modalContainerId);
}, 0);
}
};
export const finishVideoPreview = () => (dispatch, getState) => {