eframe_template
eframe_template copied to clipboard
Text input is broken on web
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 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.