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

feat: add allowScrollCrossTabOnTouchMove props into Tabs Component to improve UX on mobile device #524

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

Conversation

hnhattien
Copy link

@hnhattien hnhattien commented May 2, 2022

Live Demo: https://rc-tab-contribution-demo-cyan.vercel.app/demo/allow-scroll-tab-cross-tab-on-touch-move

allowScrollCrossTabOnTouchMove = true

True-AllowScrollCrossTabOnTouchMove

allowScrollCrossTabOnTouchMove = false or undefined

False-AllowScrollCrossTabOnTouchMove

@vercel
Copy link

vercel bot commented May 2, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
tabs ✅ Ready (Inspect) Visit Preview May 2, 2022 at 3:10PM (UTC)

@hnhattien hnhattien changed the title feat: add allowScrollCrossTabOnTouchMove props into Tabs Component to improve UX on mobile device feat: add allowScrollCrossTabOnTouchMove (or allowScrollCrossTabOnSwipe) props into Tabs Component to improve UX on mobile device May 11, 2022
@hnhattien hnhattien changed the title feat: add allowScrollCrossTabOnTouchMove (or allowScrollCrossTabOnSwipe) props into Tabs Component to improve UX on mobile device feat: add allowScrollCrossTabOnTouchMove props into Tabs Component to improve UX on mobile device May 11, 2022
@hnhattien
Copy link
Author

Any recommend to change the named way of this props that is accepted. I see to change to allowScrollCrossTabOnSwipe is better than. Do you think so?

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.

1 participant