SBM popup close focus delay

This commit is contained in:
hyunwoo93.cha
2024-08-08 12:45:00 +09:00
parent 454eab7cf4
commit 1fed7fe05f

View File

@@ -182,7 +182,9 @@ export default function DetailPanel({ panelInfo, isOnTop, spotlightId }) {
const handleSMSonClose = useCallback(() => {
dispatch(setHidePopup());
Spotlight.focus("shopbymobile_Btn");
setTimeout(() => {
Spotlight.focus("shopbymobile_Btn");
}, 0);
}, [dispatch]);
const saveToLocalSettings = useCallback(() => {