From 3adec4e6315a33cded3d73b5fbe1225e82263542 Mon Sep 17 00:00:00 2001 From: Albert Yu Date: Thu, 28 Nov 2024 16:25:18 +0800 Subject: [PATCH] Fix cross-orientation arrow key on Tabs --- packages/react/src/tabs/tabs-list/TabsList.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/react/src/tabs/tabs-list/TabsList.tsx b/packages/react/src/tabs/tabs-list/TabsList.tsx index 4d405cd364..e6425cd0b5 100644 --- a/packages/react/src/tabs/tabs-list/TabsList.tsx +++ b/packages/react/src/tabs/tabs-list/TabsList.tsx @@ -92,6 +92,7 @@ const TabsList = React.forwardRef(function TabsList( highlightedIndex={highlightedTabIndex} enableHomeAndEndKeys loop={loop} + orientation={orientation} onHighlightedIndexChange={setHighlightedTabIndex} onMapChange={setTabMap} render={renderElement()}