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
when i use clipboard.write, even the isSupported is return true, i staill got an error like below:
{errorCode: 500, message: "Failed to copy to clipboard. NotAllowedError: Fail… 'write' on 'Clipboard': Document is not focused."}
"Failed to copy to clipboard. NotAllowedError: Failed to execute 'write' on 'Clipboard': Document is not focused."
sdk version:
@microsoft/teams-js": "^2.21.0
teams version:
24046.2807.2738.2540
The text was updated successfully, but these errors were encountered:
CodeABao
changed the title
clipboard write error in personal app
clipboard write error in personal tab
Mar 14, 2024
HI @CodeABao, sorry you ran into this. The PR @ZimnitskiYury linked (#2196) is a WIP to fix this issue, so please follow that PR for tracking when the fix is available!
HI @CodeABao, sorry you ran into this. The PR @ZimnitskiYury linked (#2196) is a WIP to fix this issue, so please follow that PR for tracking when the fix is available!
@ZimnitskiYury@CodeABao
Thank you for reporting this issue. We've deployed the fix, and it will soon be rolling out. I'll update this thread once the official fix has been released. 😊
when i use clipboard.write, even the isSupported is return true, i staill got an error like below:
{errorCode: 500, message: "Failed to copy to clipboard. NotAllowedError: Fail… 'write' on 'Clipboard': Document is not focused."}
"Failed to copy to clipboard. NotAllowedError: Failed to execute 'write' on 'Clipboard': Document is not focused."
sdk version:
@microsoft/teams-js": "^2.21.0
teams version:
24046.2807.2738.2540
The text was updated successfully, but these errors were encountered: