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

Can not move with map in webview if floating button is clicked #478

Open
LukasP94 opened this issue Aug 11, 2020 · 8 comments
Open

Can not move with map in webview if floating button is clicked #478

LukasP94 opened this issue Aug 11, 2020 · 8 comments
Labels
bug Something isn't working

Comments

@LukasP94
Copy link

LukasP94 commented Aug 11, 2020

Hi,

I have strange bug. My view is composed from Stack where InAppWebView is first and floating buttons are secondary (Something like Google maps). They floating above the map. Url is open street map.

My bug is only with iOS: When I click on any button the "touch" is somehow catch with this button and if I want to "pan" to right it zoom instead. I have to reload whole webview to make it work again, but if I click button again same problem. Map in WebView is almost impossible to use like that. On android works everything fine with totally same code.

ezgif com-gif-maker
Here you can see my error. If I LONG press on map I see Javascrip menu from WebView. But problem is when i LONG press on ICON (Layers or Note) that clik is propagated to WebView and context menu from JS is showed.
How to stop propagating this?
Same Error on iOS 12.4 and 13.6 also 13.7...

Technology Version
Flutter version 1.17.5
Dart version 2.8.4
Plugin version ^4.0.0+4
iOS version 13.6
Xcode version 11.6

Thank you for any suggestions or solutions.
Regards,
Lukas

@LukasP94 LukasP94 added the bug Something isn't working label Aug 11, 2020
@yang5664
Copy link

i had the same issue.

@yang5664
Copy link

when I updated to 13.6.1, the bug is fixed

@LukasP94
Copy link
Author

I have still this problem even my iPhone iOS is 13.6.1

@LukasP94
Copy link
Author

LukasP94 commented Sep 4, 2020

ezgif com-gif-maker
Here you can see my error. If I LONG press on map I see Javascrip menu from WebView. But problem is when i LONG press on ICON (Layers or Note) that clik is propagated to WebView and context menu from JS is showed.
How to stop propagating this?
Same Error on iOS 12.4 and 13.6 also 13.7...

@weiting918
Copy link

I had the same issue.

@pichillilorenzo
Copy link
Owner

I tried to debug it but I cannot resolve it. It seems there are issues with Flutter PlatformView and iOS WKWebView.
See:

@Rob-wang
Copy link

I can solve this problem by using flutter_webview_plugin. But it cannot call the display flutter component. If I wrap it with UiKitView, it will freeze on iOS 13.4 and iOS 13.5. Looking forward to your reply, it will help me a lot. thanks

@kobi666
Copy link

kobi666 commented Feb 21, 2024

hello
were you able to resolve this somehow?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

6 participants