diff --git a/package.json b/package.json index 42fae91..ea1ad8b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@near-pagoda/ui", - "version": "0.2.3", + "version": "0.2.4", "description": "A React component library that implements the official NEAR design system.", "license": "MIT", "repository": { diff --git a/src/components/Tabs.module.scss b/src/components/Tabs.module.scss index 5a66393..6c6c5cd 100644 --- a/src/components/Tabs.module.scss +++ b/src/components/Tabs.module.scss @@ -12,8 +12,6 @@ flex-direction: column; gap: var(--gap-m); width: 100%; - overflow: auto; - scroll-behavior: smooth; &[data-size='small'] { --tabs-font: var(--text-xs); diff --git a/src/components/Tabs.tsx b/src/components/Tabs.tsx index ae340e0..bbc5cb8 100644 --- a/src/components/Tabs.tsx +++ b/src/components/Tabs.tsx @@ -48,7 +48,7 @@ export const List = forwardRef((props, ref) => { }); List.displayName = 'List'; -export const Content = forwardRef((props, ref) => { +export const Content = forwardRef(({ tabIndex = -1, ...props }, ref) => { return ; }); Content.displayName = 'Content';