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

ui.clipboard should raise if the clipboard API isn't available #4237

Open
falkoschindler opened this issue Jan 18, 2025 · 0 comments
Open

ui.clipboard should raise if the clipboard API isn't available #4237

falkoschindler opened this issue Jan 18, 2025 · 0 comments
Labels
enhancement New feature or request
Milestone

Comments

@falkoschindler
Copy link
Contributor

As discussed in #4236, ui.clipboard warns and returns an empty string if the clipboard API isn't available. I think it should raise instead so that the user code can decide how to handle the error case. As this is technically a breaking change, this issue is scheduled for 3.0.

@falkoschindler falkoschindler added the enhancement New feature or request label Jan 18, 2025
@falkoschindler falkoschindler added this to the 3.0 milestone Jan 18, 2025
@falkoschindler falkoschindler changed the title How to determine whether the current connection is secure ui.clipboard should raise if the clipboard API isn't available Jan 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant