In my WKWebview, if I right click (macCatalyst) or long press (ios) paste, it only paste text once. But if I Cmd-V to paste, it will paste text twice with a space between the 2 copied text.
This is my log (canPerform action always return true):
-canPerformAction() action : paste:
-canPerformAction() action : paste:
-canPerformAction() action : paste:
-canPerformAction() action : paste:
-canPerformAction() action : newWindowForTab:
-2021-12-17 09:50:17.101763-0500 myApp[18815:1434268] *** Assertion failure in -[UINSResponderProxy _initWithWrappedResponder:orMenuProxy:forAction:sender:], UINSResponderProxy.m:250
-[UINSResponderProxy _initWithWrappedResponder:orMenuProxy:forAction:sender:]: UINSResponderProxy is improperly wrapping a responder that does not respond to the action.
-canPerformAction() action : paste:
-canPerformAction() action : paste:
-canPerformAction() action : paste:
-
—
ShaddamIV
-
—
Steve.
-
—
ShaddamIV
Add a CommentThe exact same code for iOS and macOS because Catalyst. Using the keyboard to paste on my iPad does work correctly, but it paste twice on my Mac. I am talking about pasting text inside and input box in a web page running on WKWebview.
Did you find a fix for this? I'm experiencing the same issue.
No, it is still there.
Do you also have this problem? https://developer.apple.com/forums/thread/698038