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
The web engine has some logic to be able to copy-paste content from a Flutter app, which is using a now outdated/deprecated API (document.execCommand) as a fallback for browsers that didn't implement the standard API.
We only use the following methods from the standard Clipboard API:
writeText, to put content into the users' clipboard (widely available, since Safari 13.4 (~March 2020))
readText, to read content from the users' clipboard (widely available, since Firefox 125 (~April 2024))
It seems that soon we'll be able to remove the execCommand fallback, and all the scaffolding to make it work.
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
[web] Refactor clipboard. (#171427)
[web] Refactor clipboard. (flutter#171427)
github-actions commentedon Jul 25, 2025
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.[web] Refactor clipboard. (flutter#171427)
[web] Refactor clipboard. (flutter#171427)
[web] Refactor clipboard. (flutter#171427)
[web] Refactor clipboard. (flutter#171427)
[web] Refactor clipboard. (#171427)