-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
[macOS] Copy Shortcut does not work if TextField outside of WebView has focus #2380
Comments
It seems there is an issue with the native Flutter PlatformView itself on macOS! In the meantime, I was able somehow to create a workaround for it on the native side, but this is something that should be fixed natively on Flutter itself. |
…and clearFocus WebView methods, implemented workaround for macos #2380
Released new version |
…and clearFocus WebView methods, implemented workaround for macos pichillilorenzo#2380
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 and a minimal reproduction of the issue. |
Is there an existing issue for this?
Current Behavior
When a user has focus on a Flutter TextField and tries to copy text from a WebView, nothing gets copied.
I attempted to fix this issue by adding the following code:
This solution worked for the first copy, but it didn’t consistently resolve the problem afterward.
Expected Behavior
Copy should work without any extra code outside of InAppWebView
Steps with code example to reproduce
Steps with code example to reproduce
I could reproduce the issue on with example from: https://github.com/pichillilorenzo/flutter_inappwebview/blob/master/flutter_inappwebview/example/lib/in_app_webiew_example.screen.dart
Stacktrace/Logs
Stacktrace/Logs
Flutter version
3.24.3
Operating System, Device-specific and/or Tool
macOS
Plugin version
6.1.5
Additional information
No response
Self grab
The text was updated successfully, but these errors were encountered: