-
Notifications
You must be signed in to change notification settings - Fork 80
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
Browser Support? #99
Comments
Hey there, I'm not particularly opposed to inclusion of browser support, but I do have a few questions about how it would be implemented based off my current knowledge of JS/Rust interoperability:
|
This can be circumvented by not relying on
Ultimately I think this is gonna be the dealbreaker. There is a synchronous API for writing to the clipboard: |
Ah, bummer. I didn't think about the async nature. In my use-case it didn't really matter because I could set or get the clipboard as an async call and just not wait for the promise to finish. But for users who use the native API and expect it to behave the same, that would be confusing if they couldn't set the clipboard and have an immediate read reflect the new clipboard contents when on web. For now I'll just workaround in my app with WASM bindgen. Thanks for the replies! |
Hey there! Would you be open to supporting browsers behind a feature flag that uses
wasm-bindgen
?The text was updated successfully, but these errors were encountered: