[SHOPTIME-3445] Product Detail / 썸네일 리스트 포커스가 초기화 되지 않음
재현경로: detail 패널 진입 shop by mobile 에 포커스 된 상태에서 좌방향키 입력하여 세로 인디케이터에서 하방향키 여러번 누르고 다른 아이템 enter 후 back 키 입력. 다시 동일 detail 진입 후 shop by mobile 에서 좌 키 입력시 기존 포커스로 감. 원인 : spotlight container 초기화 오류 대책 : detail 패널 종료시 spotlight container 초기화 해줌.
This commit is contained in:
@@ -19,6 +19,7 @@ import {
|
||||
setHidePopup,
|
||||
} from '../../actions/commonActions';
|
||||
import { clearCouponInfo } from '../../actions/couponActions';
|
||||
import { setContainerLastFocusedElement } from "@enact/spotlight/src/container";
|
||||
import { getDeviceAdditionInfo } from '../../actions/deviceActions';
|
||||
import {
|
||||
clearThemeDetail,
|
||||
@@ -377,6 +378,8 @@ export default function DetailPanel({ panelInfo, isOnTop, spotlightId }) {
|
||||
dispatch(clearProductDetail());
|
||||
dispatch(clearThemeDetail());
|
||||
dispatch(clearCouponInfo());
|
||||
//[SHOPTIME-3445]
|
||||
setContainerLastFocusedElement(null, ["indicator-GridListContainer"]);
|
||||
};
|
||||
}, [dispatch]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user