diff --git a/com.twin.app.shoptime/src/views/PlayerPanel/PlayerPanel.jsx b/com.twin.app.shoptime/src/views/PlayerPanel/PlayerPanel.jsx index 6c7398a8..534cc4f7 100644 --- a/com.twin.app.shoptime/src/views/PlayerPanel/PlayerPanel.jsx +++ b/com.twin.app.shoptime/src/views/PlayerPanel/PlayerPanel.jsx @@ -2273,6 +2273,9 @@ const PlayerPanel = ({ isTabActivated, panelInfo, isOnTop, spotlightId, ...props Spotlight.focus(lastFocusedTargetId); }, 500); } + + // 한 번 처리한 복귀 플래그는 즉시 해제해 중복 영향을 막는다. + prevIsTopPanelDetailFromPlayerRef.current = false; } } }, [ @@ -2287,6 +2290,11 @@ const PlayerPanel = ({ isTabActivated, panelInfo, isOnTop, spotlightId, ...props // PopularShow에서 처음 호출할 때처럼 modal이 false인 상태에서 VOD/LIVE 구분 useEffect(() => { if (isOnTop && !panelInfo.modal && !videoVerticalVisible && tabContainerVersion === 2) { + // DetailPanel에서 막 복귀한 경우 탭 인덱스를 초기화하지 않는다. + if (panelInfo?.detailPanelClosed) { + return; + } + console.log( '[PlayerPanel] 📺 Modal false 상태 - shptmBanrTpNm:', panelInfoRef.current?.shptmBanrTpNm