-
-
Notifications
You must be signed in to change notification settings - Fork 868
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
[BUG] MacOS: Cannot scroll with trackpad inside scrollable if InteractiveFlag.drag
enabled
#1395
Comments
Hi @AndreiMisiukevich! |
Thanks for your response. |
Unfortunately not. Slightly strange that disabling
What does 'works fine' mean? EDIT: This line: interactiveFlags: InteractiveFlag.drag | InteractiveFlag.doubleTapZoom, may not work as you expect? But to be honest I can't be sure. What happens if you use '&' instead? |
So, if dragging is disabled, then I can scroll by trackpad, but if it's enabled, then I can't |
Hmm, that is quite strange. I'm not sure what we can do, but I'll leave this open for now :) |
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days. |
I believe this is still the issue :) |
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days. |
I believe this is still the issue :) |
InteractiveFlag.drag
enabled
Hey @AndreiMisiukevich, when you get a moment, can you re-evaluate whether this issue is still applicable in the 'master' branch with the latest Flutter 3.10 version? |
@JaffaKetchup hey |
Looks like |
That's interesting, thanks for sharing. Unfortunately that option isn't available in the latest FM versions, so I'm going to reopen this. |
What is the bug?
If I put FlutterMap inside ScrollView (e.g. SingleChildScrollView with a Column of several elements) I cannot scroll the scroll view with the trackpad if the mouse pointer is hovering over the map.
I added
enableScrollWheel: false,
but it didn't help (Honestly, I see any difference with or without this property)I found, that this happens only if
interactiveFlags
containsInteractiveFlag.drag
element, otherwise scroll with the trackpad works fine.What is the expected behaviour?
It should be possible to scroll the scrollview when hovering FlutterMap on macOS if
enableScrollWheel: false,
passedHow can we reproduce this issue?
Do you have a potential solution?
No :(
For some reason, it works fine on the Web
Can you provide any other information?
Platforms Affected
MacOS
Severity
Obtrusive: Prevents normal functioning but causes no errors in the console
Frequency
Consistently: Always occurs at the same time and location
Requirements
flutter doctor
finds no relevant issuesThe text was updated successfully, but these errors were encountered: