You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Text input has really weird behavior using the eframe template in web. For instance, copying/cutting text is not allowed (This also happens in https://emilk.github.io/eframe_template/). Some other times, text input doesn't work at all except for the tab or enter keys. Surprisingly, this issue doesn't happen in the egui demo (https://egui.rs)
I'm guessing there's a problem with the index.html wrapper.
The text was updated successfully, but these errors were encountered:
aleokdev
changed the title
Text input is broken
Text input is broken on web
Oct 6, 2022
The clipboard issue can be solved by setting RUSTFLAGS=--cfg=web_sys_unstable_apis when running trunk (This should be mentioned somewhere in this repo, but I can't find it), but the tab/enter issue still persists.
Text input has really weird behavior using the eframe template in web.
For instance, copying/cutting text is not allowed (This also happens in https://emilk.github.io/eframe_template/).Some other times, text input doesn't work at all except for the tab or enter keys. Surprisingly, this issue doesn't happen in the egui demo (https://egui.rs)I'm guessing there's a problem with the index.html wrapper.
The text was updated successfully, but these errors were encountered: