You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm facing several issues with WebView behavior on iOS while using flutter_inappwebview. My WebView is designed to display a tutorial flow that involves rotating, panning, zooming, and selecting portions of the content. The issues are detailed below:
Issues:
Pan and Zoom:
On Android, everything works perfectly.
On iOS, rotation works fine, but enabling supportZoom: true causes either zoom or pan to work, but not both simultaneously. I need both to function together as they do on Android.
Selection Issue:
When I select a portion of the content, it works the first time. However, selecting another portion afterward doesn't work. There seems to be a delay or touch event issue that isn't as smooth as on Android.
I have tried setting preventGestureDelay: true, but it didn't resolve the problem as expected.
Rare Console Error:
Occasionally, I get the following error:
Could not signal service com.apple.WebKit.WebContent: 113: Could not find specified service
I'm not sure if this is related to the issue, but thought it might be worth mentioning.
Implement the above WebView in an iOS app.
Attempt to pan and zoom simultaneously.
Select a portion of the WebView content and attempt to select another.
Expected Behavior:
Both pan and zoom should work simultaneously, as they do on Android.
Smooth selection between different portions of the WebView.
Actual Behavior:
Only one of pan or zoom works at a time.
Unable to select multiple portions smoothly.
Possible Related Error:
Could not signal service com.apple.WebKit.WebContent: 113: Could not find specified service
[SystemGestureGate] <0x11fd0fff0> Gesture: System gesture gate timed out.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm facing several issues with WebView behavior on iOS while using flutter_inappwebview. My WebView is designed to display a tutorial flow that involves rotating, panning, zooming, and selecting portions of the content. The issues are detailed below:
Issues:
Pan and Zoom:
On Android, everything works perfectly.
On iOS, rotation works fine, but enabling
supportZoom: true
causes either zoom or pan to work, but not both simultaneously. I need both to function together as they do on Android.Selection Issue:
When I select a portion of the content, it works the first time. However, selecting another portion afterward doesn't work. There seems to be a delay or touch event issue that isn't as smooth as on Android.
I have tried setting
preventGestureDelay: true
, but it didn't resolve the problem as expected.Rare Console Error:
Occasionally, I get the following error:
Could not signal service com.apple.WebKit.WebContent: 113: Could not find specified service
I'm not sure if this is related to the issue, but thought it might be worth mentioning.
Additional Details:
Steps to Reproduce:
Implement the above WebView in an iOS app.
Attempt to pan and zoom simultaneously.
Select a portion of the WebView content and attempt to select another.
Expected Behavior:
Both pan and zoom should work simultaneously, as they do on Android.
Smooth selection between different portions of the WebView.
Actual Behavior:
Only one of pan or zoom works at a time.
Unable to select multiple portions smoothly.
Possible Related Error:
Tried using
touch-action: manipulation;
as well.https://webkit.org/blog/5610/more-responsive-tapping-on-ios/
Beta Was this translation helpful? Give feedback.
All reactions