diff --git a/com.twin.app.shoptime/src/components/TabLayout/TabLayout.jsx b/com.twin.app.shoptime/src/components/TabLayout/TabLayout.jsx index 8c5aa49c..5501d543 100644 --- a/com.twin.app.shoptime/src/components/TabLayout/TabLayout.jsx +++ b/com.twin.app.shoptime/src/components/TabLayout/TabLayout.jsx @@ -696,6 +696,13 @@ export default function TabLayout({ topPanelName, onTabActivated, panelInfo }) { } }, [secondDepthReduce, showSubTab, mainSelectedIndex]); + //[SHOPTIME-2052] 사방향키로 GNB 이동 후 매직마우스로 변경시 이동되면서 포커싱 되었던 메뉴가 selected됨 + useEffect(() => { + if (cursorVisible && !showSubTab) { + setMainSelectedIndex(-1); + } + }, [cursorVisible]); + const onMainMouseEnter = useCallback( (ev) => { mouseMainEntered.current = true;