[251026] feat: HomeBanner Video AutoStart
🕐 커밋 시간: 2025. 10. 26. 22:48:04 📊 변경 통계: • 총 파일: 5개 • 추가: +58줄 • 삭제: -2975줄 📝 수정된 파일: ~ com.twin.app.shoptime/.gitignore ~ com.twin.app.shoptime/src/views/HomePanel/HomeBanner/HomeBanner.jsx ~ com.twin.app.shoptime/src/views/HomePanel/HomePanel.jsx 🗑️ 삭제된 파일: - com.twin.app.shoptime/2025-10-26-focus-1px-to-recovery.txt - com.twin.app.shoptime/shopperHouseResponse.txt 🔧 주요 변경 내용: • 소규모 기능 개선 • 코드 정리 및 최적화 Performance: 코드 최적화로 성능 개선 기대
This commit is contained in:
@@ -463,7 +463,11 @@ const HomePanel = ({ isOnTop }) => {
|
||||
setTimeout(() => {
|
||||
Spotlight.resume();
|
||||
setFirstSpot(true);
|
||||
if (Spotlight.getPointerMode()) {
|
||||
// 비디오가 1px로 축소된 상태가 아닐 때만 finishVideoPreview 호출
|
||||
const isVideoShrunk = panels.some(
|
||||
(panel) => panel.name === panel_names.PLAYER_PANEL && panel.panelInfo?.shouldShrinkTo1px
|
||||
);
|
||||
if (Spotlight.getPointerMode() && !isVideoShrunk) {
|
||||
dispatch(finishVideoPreview());
|
||||
}
|
||||
if (panelInfo.currentCatCd) {
|
||||
@@ -480,7 +484,7 @@ const HomePanel = ({ isOnTop }) => {
|
||||
}, 0);
|
||||
}
|
||||
},
|
||||
[panelInfo, firstSpot, enterThroughGNB, defaultFocus, cbChangePageRef, dispatch, isOnTop]
|
||||
[panelInfo, firstSpot, enterThroughGNB, defaultFocus, cbChangePageRef, dispatch, isOnTop, panels]
|
||||
);
|
||||
|
||||
const bestSellerLoaded = useCallback(() => {
|
||||
|
||||
Reference in New Issue
Block a user