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

Add ScrollPhysics support in tabs scroll #20

Open
andychucs opened this issue Jun 3, 2024 · 0 comments
Open

Add ScrollPhysics support in tabs scroll #20

andychucs opened this issue Jun 3, 2024 · 0 comments

Comments

@andychucs
Copy link

Is it possible to add ScrollPhysics support?

I've noticed that after setting tabMinLength to allow tabs to scroll, the effect doesn't appear smooth, and it's difficult to achieve accurate and fast swiping. I looked into the related code, and it seems that this package directly handles touch events on the tabs.

Is it possible to implement scrollable tabs like this ScrollView -> IntrinsicHeight -> "TabsWidget"?

Or by handling the scroll position in handleEvent with ScrollController.createScrollPosition, we could define physics; using BouncingScrollPhysics by default on iOS would make the component's motion appear smoother.

I'm not yet familiar enough with the code of this package, sorry that I cannot submit a PR at the moment. If possible, could you check if the methods I mentioned could be implemented, or could you tell me how I should modify it?

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

No branches or pull requests

1 participant