[TabLayout] 매직마우스일 경우 2초 후 메뉴 열리도록 처리
This commit is contained in:
@@ -93,7 +93,7 @@ const TabItemBase = ({
|
||||
const subtitle = title.split("-")[0];
|
||||
return (
|
||||
<>
|
||||
{expanded && (
|
||||
{subtitle && (
|
||||
<Marquee
|
||||
marqueeDisabled={!focused}
|
||||
marqueeOn={"focus"}
|
||||
@@ -104,7 +104,7 @@ const TabItemBase = ({
|
||||
)}
|
||||
</>
|
||||
);
|
||||
}, [title, focused]);
|
||||
}, [title, focused, expanded]);
|
||||
|
||||
delete rest.hasChildren;
|
||||
delete rest.getChildren;
|
||||
|
||||
Reference in New Issue
Block a user