[251118] fix: HomePanel isOnTop에서 항상 비디오 재생조건-1
🕐 커밋 시간: 2025. 11. 18. 12:27:13 📊 변경 통계: • 총 파일: 2개 • 추가: +86줄 • 삭제: -23줄 📝 수정된 파일: ~ com.twin.app.shoptime/src/actions/playActions.js ~ com.twin.app.shoptime/src/views/HomePanel/HomePanel.jsx 🔧 주요 변경 내용: • 핵심 비즈니스 로직 개선 • 소규모 기능 개선
This commit is contained in:
@@ -112,16 +112,17 @@ export const startVideoPlayer =
|
||||
);
|
||||
console.log('[startVideoPlayer] ✨ Panel action dispatched');
|
||||
|
||||
if (modal && modalContainerId && !spotlightDisable) {
|
||||
console.log('[startVideoPlayer] 🎯 Setting Spotlight focus - containerId:', modalContainerId);
|
||||
Spotlight.setPointerMode(false);
|
||||
startVideoFocusTimer = setTimeout(() => {
|
||||
console.log('[startVideoPlayer] 🔍 Spotlight.focus called');
|
||||
Spotlight.focus(modalContainerId);
|
||||
}, 0);
|
||||
} else {
|
||||
console.log('[startVideoPlayer] ⏭️ Spotlight focus skipped - modal:', modal, ', modalContainerId:', !!modalContainerId, ', spotlightDisable:', spotlightDisable);
|
||||
}
|
||||
// [COMMENTED OUT] 비디오 재생 시 강제 포커스 이동 비활성화
|
||||
// if (modal && modalContainerId && !spotlightDisable) {
|
||||
// console.log('[startVideoPlayer] 🎯 Setting Spotlight focus - containerId:', modalContainerId);
|
||||
// Spotlight.setPointerMode(false);
|
||||
// startVideoFocusTimer = setTimeout(() => {
|
||||
// console.log('[startVideoPlayer] 🔍 Spotlight.focus called');
|
||||
// Spotlight.focus(modalContainerId);
|
||||
// }, 0);
|
||||
// } else {
|
||||
// console.log('[startVideoPlayer] ⏭️ Spotlight focus skipped - modal:', modal, ', modalContainerId:', !!modalContainerId, ', spotlightDisable:', spotlightDisable);
|
||||
// }
|
||||
|
||||
console.log('[startVideoPlayer] ✅ END');
|
||||
};
|
||||
@@ -229,16 +230,17 @@ export const startVideoPlayerNew =
|
||||
);
|
||||
console.log('[startVideoPlayerNew] *** ✨ Panel action dispatched - action:', panelWorkingAction === updatePanel ? 'updatePanel' : 'pushPanel');
|
||||
|
||||
if (modal && modalContainerId && !spotlightDisable) {
|
||||
console.log('[startVideoPlayerNew] *** 🎯 Setting Spotlight focus - containerId:', modalContainerId);
|
||||
Spotlight.setPointerMode(false);
|
||||
startVideoFocusTimer = setTimeout(() => {
|
||||
console.log('[startVideoPlayerNew] *** 🔍 Spotlight.focus called');
|
||||
Spotlight.focus(modalContainerId);
|
||||
}, 0);
|
||||
} else {
|
||||
console.log('[startVideoPlayerNew] *** ⏭️ Spotlight focus skipped - modal:', modal, ', modalContainerId:', !!modalContainerId, ', spotlightDisable:', spotlightDisable);
|
||||
}
|
||||
// [COMMENTED OUT] 비디오 재생 시 강제 포커스 이동 비활성화
|
||||
// if (modal && modalContainerId && !spotlightDisable) {
|
||||
// console.log('[startVideoPlayerNew] *** 🎯 Setting Spotlight focus - containerId:', modalContainerId);
|
||||
// Spotlight.setPointerMode(false);
|
||||
// startVideoFocusTimer = setTimeout(() => {
|
||||
// console.log('[startVideoPlayerNew] *** 🔍 Spotlight.focus called');
|
||||
// Spotlight.focus(modalContainerId);
|
||||
// }, 0);
|
||||
// } else {
|
||||
// console.log('[startVideoPlayerNew] *** ⏭️ Spotlight focus skipped - modal:', modal, ', modalContainerId:', !!modalContainerId, ', spotlightDisable:', spotlightDisable);
|
||||
// }
|
||||
|
||||
console.log('[startVideoPlayerNew] *** ✅ END');
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user