마우스 클릭스 서브 탭 열리는 기능 수정
This commit is contained in:
@@ -366,7 +366,7 @@ export default function TabLayout({ topPanelName, onTabActivated }) {
|
||||
);
|
||||
|
||||
const onFocus = (index) => {
|
||||
// setMainSelectedIndex(index);
|
||||
setMainSelectedIndex(index);
|
||||
|
||||
if (showSubTab) {
|
||||
setSecondDepthReduce((prev) => !prev);
|
||||
@@ -375,7 +375,7 @@ export default function TabLayout({ topPanelName, onTabActivated }) {
|
||||
|
||||
const handleNavigation = useCallback(
|
||||
({ index, target }) => {
|
||||
setMainSelectedIndex(index);
|
||||
// setMainSelectedIndex(index);
|
||||
if (target && !showSubTab) {
|
||||
dispatch(resetPanels(target));
|
||||
deActivateTab();
|
||||
|
||||
Reference in New Issue
Block a user