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
Different horizontal scroll behaviour on macOS and Chrome for TwoDimensionalScrollView #147488
Comments
It works fine on my macbook pro. (Note i am on older flutter) What I noticed was you are creating the scrollcontroller in your StatelessWidget. no good. Try using a StatefulWidget instead. If your controller keeps getting recreated, it could be the cause, the scroll position would keep resetting to 0? |
Hi @WanderingTurtle, it appears that this has been fixed on the Per our triage policy, I'll be closing this since it has been fixed on master/beta. Thank you
flutter doctor -v
|
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of |
Steps to reproduce
mac: MacBook Air M1 2020
macOS: Sonoma 14.3.1
Here is a simple one vicinity TwoDimensionalScrollView implementation, and the vicinity is a very long Text widget.
In vscode I ran debug mode with macOS, and then with Chrome.
Expected results
On both macOS build and Chrome build, it should be scrollable horizontally with touch pad (two fingers wiping left or right).
Actual results
On macOS debug build, horizontal scrolling using touch pad has no effect.
On Chrome debug build, horizontal scrolling using touch pad works ok.
Code sample
Code sample
Screenshots or Video
No response
Logs
No response
Flutter Doctor output
Doctor output
The text was updated successfully, but these errors were encountered: