[251115] fix: ProductVideo.v3.jsx 전체화면에서 모달복귀 포커스 문제
🕐 커밋 시간: 2025. 11. 15. 14:15:28 📊 변경 통계: • 총 파일: 6개 • 추가: +90줄 • 삭제: -131줄 📝 수정된 파일: ~ com.twin.app.shoptime/src/App/App.js ~ com.twin.app.shoptime/src/components/VideoPlayer/VideoPlayer.v3.module.less ~ com.twin.app.shoptime/src/views/DetailPanel/DetailPanel.jsx ~ com.twin.app.shoptime/src/views/DetailPanel/ProductAllSection/ProductAllSection.jsx ~ com.twin.app.shoptime/src/views/DetailPanel/ProductContentSection/ProductVideo/ProductVideo.v3.jsx ~ com.twin.app.shoptime/src/views/MediaPanel/MediaPanel.v3.jsx 🔧 함수 변경 내용: 📄 com.twin.app.shoptime/src/App/App.js (javascript): ✅ Added: resolveSpotlightIdFromEvent() 📄 com.twin.app.shoptime/src/views/DetailPanel/ProductAllSection/ProductAllSection.jsx (javascript): 🔄 Modified: extractProductMeta() 📄 com.twin.app.shoptime/src/views/DetailPanel/ProductContentSection/ProductVideo/ProductVideo.v3.jsx (javascript): 🔄 Modified: Spottable() 📄 com.twin.app.shoptime/src/views/MediaPanel/MediaPanel.v3.jsx (javascript): 🔄 Modified: normalizeModalStyle() 🔧 주요 변경 내용: • 핵심 비즈니스 로직 개선 • UI 컴포넌트 아키텍처 개선 Performance: 코드 최적화로 성능 개선 기대
This commit is contained in:
@@ -421,6 +421,24 @@ const resolveSpotlightIdFromEvent = (event) => {
|
||||
return undefined;
|
||||
};
|
||||
|
||||
// Spotlight Focus 추적 로그 [251115]
|
||||
// DOM 이벤트 리스너로 대체
|
||||
|
||||
document.addEventListener('focusin', (ev) => {
|
||||
console.log('[SPOTLIGHT FOCUS-IN]', ev.target);
|
||||
});
|
||||
|
||||
document.addEventListener('focusout', (ev) => {
|
||||
console.log('[SPOTLIGHT FOCUS-OUT]', ev.target);
|
||||
});
|
||||
|
||||
// Spotlight 커스텀 이벤트가 있다면 추가
|
||||
if (typeof Spotlight !== 'undefined' && Spotlight.addEventListener) {
|
||||
Spotlight.addEventListener('focus', (ev) => {
|
||||
console.log('[SPOTLIGHT: focus]', ev.target);
|
||||
});
|
||||
}
|
||||
|
||||
function AppBase(props) {
|
||||
const dispatch = useDispatch();
|
||||
const httpHeader = useSelector((state) => state.common.httpHeader);
|
||||
|
||||
Reference in New Issue
Block a user