diff --git a/src/@next/Tabs/Tab.tsx b/src/@next/Tabs/Tab.tsx index dabc92df7..0fe154f48 100644 --- a/src/@next/Tabs/Tab.tsx +++ b/src/@next/Tabs/Tab.tsx @@ -22,10 +22,12 @@ export const Tab = ({ const tabRef = useRef(null); const handleClick = (event: React.MouseEvent) => { - if (disabled || disabledScrollToTab) return; + if (disabled) return; event.preventDefault(); - tabRef.current.scrollIntoView({ behavior: 'smooth' }); + if (!disabledScrollToTab) { + tabRef.current.scrollIntoView({ behavior: 'smooth' }); + } onSelect(); };