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

window.execCommand execute failed but success event be triggered!! #865

Open
fengqinghuaYA opened this issue Nov 2, 2023 · 1 comment
Open
Labels

Comments

@fengqinghuaYA
Copy link

Have you read the Contributing Guidelines on issues?

Actual Behaviour

In the function fakeCopyAction, even if the execution of window.execCommand("copy") fails, the success event will still be triggered.

Expected Behaviour

I expected that when the execution of window.execCommand("copy") fails, the error event should be triggered.

To Reproduce

Browsers Affected

I tested on all major browsers and only IE 11 does not work.

Operational System

.....

@obetomuniz
Copy link
Collaborator

obetomuniz commented Jun 20, 2024

Hey @fengqinghuaYA, that's an odd scenario. I'm planning to contribute to some open issues. As a normal process, I will try to reproduce and triage it.

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

No branches or pull requests

2 participants