-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
unstable clipboard logic on web is incompatible with web_sys 0.3.70 #4961
Labels
bug
Something is broken
Comments
This was referenced Aug 15, 2024
Closed
I also met this problem. When will the #4954 be merged? 😄 |
@bioinformatist please have a look at #4980 |
486c
pushed a commit
to 486c/egui
that referenced
this issue
Oct 9, 2024
This PR updates web-sys & wasm to the newest version. (this was already part of the POC emilk#4954 ) * Closes <emilk#4961> * Closes <emilk#4958> * [x] I have followed the instructions in the PR template
hacknus
pushed a commit
to hacknus/egui
that referenced
this issue
Oct 30, 2024
This PR updates web-sys & wasm to the newest version. (this was already part of the POC emilk#4954 ) * Closes <emilk#4961> * Closes <emilk#4958> * [x] I have followed the instructions in the PR template
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm trying to use
web_sys_unstable_apis
in my project, but it started failing due to an error coming from some special clipboard logic in eframe.The error:
The source:
https://github.com/emilk/egui/blob/master/crates/eframe/src/web/mod.rs#L171-L192
In v0.3.69 and before of web_sys, the return of
.clipboard()
isOption<Clipboard>
. In v0.3.70, it is now justClipboard
Thankfully, I'm able to just pin my web_sys dependency to
=0.3.69
and I'm able to compile againThe text was updated successfully, but these errors were encountered: