Skip to content

Commit 879c3ac

Browse files
committed
make not disappear when toggling animation
1 parent 3b7471a commit 879c3ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/components/tabs/src/tabs.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ const Tabs = forwardRef(function Tabs<T extends object>(
9797

9898
requestAnimationFrame(() => cursorRef.current?.setAttribute("data-initialized", "true"));
9999
},
100-
[getCursorStyles, variant],
100+
[cursorRef.current, getCursorStyles, variant],
101101
);
102102

103103
const onResize = useCallback(

0 commit comments

Comments
 (0)