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
{{ message }}
Repository navigation
[PlatformView][iOS] Touch gesture on InteractiveViewer stops working if you touch your finger first and then touch with Apple Pencil on iPad #136244
If you touch with your finger first and touch with Apple Pencil second while first touch is maintained , the callback function not called.
On the contrary, if you touch with the Apple Pencil first and touch with finger later, it will work normally
Both work fine on Android
The difference is,
On Android, when the second touch is occur, the onPointerUp event of first touch is called and the onPointerDown event of second touch is called . Not called in ipad
Expected results
touch works expected
Actual results
touch not working
Code sample
Code sample
[Paste your code here]
Screenshots or Video
Screenshots / Video demonstration
[Upload media here]
Logs
Logs
[Paste your logs here]
Flutter Doctor output
Doctor output
[Paste your output here]
Reacted by 万建明, danyangya, sailingbin, Liang Zhao Liang, Aeroii, Tr2e, LOMO19, DXDTY, 王阳阳, jtzcode and 9 more
@huycozy Hi,
I found a problematic situation. When you use a Webview in InteractiveViewer, touch the app pencil while touching it first with your finger will not working
You are using InAppWebView which is 3rd party plugin we are not sure if the issue could be related to/caused by it. Could you retry with webview_flutter instead?
Thank @hongmono for the reproduction code. However, I wonder how it can be drawn as in the demo video above. Looks like @wolru is using a draw app on the top layer?
Could you provide the reproduction step-by-step? It would be better if there is a working example (native app?)for comparison.
It's the same as @wolru's code: no touch event is fired after using a combination of finger gestures and apple pencil gestures on the webview, whether the webview is under the stack or as a child.
@hongmono Could you share the actual results of this? Do you mean the webview is not draggable? Is it caused by adding IgnorePointer?
Also, to identify if this is webview or platform-views issue, you can try replacing webview to pure platform-view to see if the same result occurs. Please check my simple platform-view demo here for reference.
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 flutter doctor -v and a minimal reproduction of the issue.
Activity
huycozy commentedon Oct 11, 2023
Hi @wolru
Please provide information in the remaining fields in the issue template. More specifically:
flutter doctor -vwolru commentedon Oct 19, 2023
@huycozy Hi,
I found a problematic situation. When you use a Webview in InteractiveViewer, touch the app pencil while touching it first with your finger will not working
20231019_143937.mp4
huycozy commentedon Oct 19, 2023
You are using InAppWebView which is 3rd party plugin we are not sure if the issue could be related to/caused by it. Could you retry with webview_flutter instead?
wolru commentedon Oct 21, 2023
@huycozy The same issue occurs when using webview_flutter
huycozy commentedon Oct 23, 2023
Please provide a completed and minimal reproducible code sample so that we can verify the issue. Also, please provide the output of
flutter doctor -vas well.hongmono commentedon Oct 24, 2023
huycozy commentedon Oct 25, 2023
Thank @hongmono for the reproduction code. However, I wonder how it can be drawn as in the demo video above. Looks like @wolru is using a draw app on the top layer?
Could you provide the reproduction step-by-step? It would be better if there is a working example (native app?)for comparison.
hongmono commentedon Oct 26, 2023
@huycozy
It's the same as @wolru's code: no touch event is fired after using a combination of finger gestures and apple pencil gestures on the webview, whether the webview is under the stack or as a child.
Thank you for your interest.
huycozy commentedon Oct 26, 2023
@hongmono Could you share the actual results of this? Do you mean the webview is not draggable? Is it caused by adding
IgnorePointer?Also, to identify if this is webview or platform-views issue, you can try replacing webview to pure platform-view to see if the same result occurs. Please check my simple platform-view demo here for reference.
37 remaining items
hellohuanlin commentedon Oct 15, 2024
Reopen since a customer reported that this broke the touch/gesture.
huycozy commentedon Oct 17, 2024
[ios][platform_view]force reset forwarding recognizer state when its …
github-actions commentedon Nov 7, 2024
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
flutter doctor -vand a minimal reproduction of the issue.[ios][platform_view] Fix Platform view gesture recognizer with iPad p…
[ios][platform_view]force reset forwarding recognizer state when its …