-
-
Notifications
You must be signed in to change notification settings - Fork 873
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] iOS: Pinch zoom broken (b) #1634
Comments
Thanks for reporting @joosakle. I'll need to confirm what commit this issue appeared in, I'm assuming it will be one where the gestures file has changed. I have a suspicious commit (of my own) in mind, but I'm not sure if this is the issue. |
I don't have an iOS to test on, but I quickly borrowed one from someone else. I can reproduce this issue, as shown in your video. I won't be able to resolve this issue as I can't test this anymore. However, it is of significant concern. If you could do any more digging, that would be hugely appreciated! |
@joosakle have you made any configuration to enforce the usage of the canvaskit renderer for the web build? By default it is dynamic and Safari on iOS will use the html renderer. |
@TesteurManiak I think I set up the Actions to build with CanvasKit, so the website should be using it. |
@TesteurManiak I now built the demo-page with I also checked that the issue persists also on demo home page when modified with only Thanks for the quick response! |
I think unfortunately, this will have to be grouped in with all the other gesture issues on Apple platforms, to be fixed in a future version. The entire gesture system needs rewriting completely, it's a spaghetti mess of a single file with over a 1000 lines now. |
Unfortunately, this may not be only iOS related.. I'm seeing the same behaviour on Android with the latest flutter_map version 6. To be honest, I didn't experience this problem with version 5. Xiaomi Mi 10 - Android API 33 It's mostly happening after a hot restart but sometimes occurring on a fresh run without even hot restart. Stuck on single point - exact same behaviour (without hot restart): Map is frozen (with hot restart): |
Very similar to #1429. I suspect there is a bug in the gesture handling somewhere. |
I can't reproduce this issue on my Android device (anymore), on the web demo. Can someone confirm if this still occurs? |
This issue requires additional information in order to be resolved. However, there hasn't been any response within the last 3 weeks. |
This issue was closed because it has been inactive for 4 weeks, and still requires information in order to be resolved. |
What is the bug?
Pinch zoom is currently broken on iOS web when tested using latest master branch and demo application, using Safari and Chrome on iPhone SE2020, 11 and 14. Frequently when you zoom the gesture gets stuck, so that it's as if you constantly have two fingers on the screen, even though you have only one. This prevents further use of the map until reload.
The screen recording illustrates the issue well. When you load the map and calmly move around and then zoom things usually work normally, but when you zoom immediately after map loads, the bug happens frequently. I have this same issue also on my own fork of master (waiting for #1452 ) with map rotation disabled, there the map gets completely stuck on one place with only in/out pinch zoom working. Occasionally the bug also happens later, when the map has had some time to load and you've moved around, but most of the time it only happens the first time you zoom in.
fleaflet_zoom_issue.MOV
How can we reproduce it?
Do you have a potential solution?
Unfortunately not. I suppose this is related to other gesture issues in #1529. Similarly to #1572, I am unable to tap anything after the zoom gets stuck. The issue #1583 is also similar in sense that it's as if two fingers are detected when there's only one.
Platforms
iPhone SE2020, iPhone 11, iPhone 14, iOS
Severity
Obtrusive: Prevents normal functioning but causes no errors in the console
The text was updated successfully, but these errors were encountered: