Skip to content

Commit

Permalink
fix(tabs): 修复意外地出现了滚动条 (#2912)
Browse files Browse the repository at this point in the history
  • Loading branch information
conorzhong authored Jan 6, 2025
1 parent 9bcf3bd commit 5ce15cd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/packages/tabs/tabs.taro.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,7 @@ export const Tabs: FunctionComponent<Partial<TabsProps>> & {
scrollY={direction === 'vertical'}
scrollLeft={scrollLeft}
scrollTop={scrollTop}
enhanced
showScrollbar={false}
scrollWithAnimation={
rtl && Taro.getEnv() !== 'WEB' ? false : scrollWithAnimation.current
Expand Down

0 comments on commit 5ce15cd

Please sign in to comment.