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

fallback option in useClipboard #3813

Open
4 tasks done
Mister-Hope opened this issue Feb 22, 2024 · 0 comments
Open
4 tasks done

fallback option in useClipboard #3813

Mister-Hope opened this issue Feb 22, 2024 · 0 comments
Labels
direction: approved The direction of feature/change is approved by the team. May require some small changes. enhancement New feature or request vue: upstream

Comments

@Mister-Hope
Copy link
Contributor

Clear and concise description of the problem

See #3008 (comment) and #3695

useClipboard use Clipboard API if possible, but there are chances that:

Suggested solution

I am thinking whether adding a new option called fallback would be helpful, when this option is set, whenever Clipboard APi fails (user refuse when prompt or browser refused for security), try again using the legacy way.

Alternative

No response

Additional context

No response

Validations

@Mister-Hope Mister-Hope added the enhancement New feature or request label Feb 22, 2024
@dosubot dosubot bot added direction: approved The direction of feature/change is approved by the team. May require some small changes. vue: upstream labels Feb 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
direction: approved The direction of feature/change is approved by the team. May require some small changes. enhancement New feature or request vue: upstream
Projects
None yet
Development

No branches or pull requests

1 participant