egui icon indicating copy to clipboard operation
egui copied to clipboard

Android WASM google keyboard backspace not working with suggestions

Open v-kat opened this issue 1 year ago • 0 comments

The eframe text_agent based WASM keyboard on Android seems to be having issues with suggestions and swallowing backspace to only get rid of text in the suggestions and not the actual input. I dunno if this is related to how egui is dispatching events and/or some android keyboard API quirks. I replicated the problem on multiple Android browsers including Firefox and Chromium based ones and didn't see it on the latest version of iOS.

wasm_keyboard ^ the Shhhh gets deleted and no text from the input is modified until the suggestion disappears.

To Reproduce Steps to reproduce the behavior:

  1. Go to www.egui.rs on android with a web browser
  2. Select the Widget Gallery and click the TextEdit
  3. Enter some text and get some Google keyboard suggestions
  4. Use the lower-right backspace key and notice that the text edit isn't modified until the suggestions disappear

Expected behavior The text edit contents are immediately editable without having to get rid of the suggestions

Smartphone:

  • Device: OnePlus Nord
  • OS: Android 12
  • Browser: Firefox, Brave
  • Version: latest

v-kat avatar Apr 24 '24 20:04 v-kat