Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(tabs): disabled animated when tabPosition is left/right #505

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

buqiyuan
Copy link

@buqiyuan buqiyuan commented Apr 9, 2022

d116b71af68029682db36504af50ec86_671181269581_v_1649488469584584.mp4

image

实际使用中,当animated为true的时候,对于tabPosition的四个方向都支持动画过渡效果,但是仅支持横向的过渡效果,当tabPositionleft/right的时候,动画效果应该是纵向过渡的,如果暂时不考虑支持纵向过渡动画,并且要与文档描述相符的话,则当tabPositionleft/right的时候需要禁用动画效果

@vercel
Copy link

vercel bot commented Apr 9, 2022

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/react-component/tabs/2H9AE6f3VEkQiuxPk967xcqgMPWL
✅ Preview: https://tabs-git-fork-buqiyuan-master-react-component.vercel.app

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant