Skip to content
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

clipboard write error in personal tab #2220

Open
CodeABao opened this issue Mar 14, 2024 · 5 comments
Open

clipboard write error in personal tab #2220

CodeABao opened this issue Mar 14, 2024 · 5 comments

Comments

@CodeABao
Copy link

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

@CodeABao CodeABao changed the title clipboard write error in personal app clipboard write error in personal tab Mar 14, 2024
@Prasad-MSFT
Copy link

Hi @CodeABao, thanks for reporting. We will check this with engineering team and will provide you the update.

Thanks!

@ZimnitskiYury
Copy link

issue #2196

pr #2201

@TrevorJoelHarris
Copy link
Contributor

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!

@CodeABao
Copy link
Author

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!

thanks

@shrshindeMSFT
Copy link
Contributor

@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. 😊

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants