emilk / emilk/egui

Mobile keyboard should not behave like IME

Open
#4,573 0 comments 0 reactions 0 assignees View on GitHub
android iOS web
Dominant language
Rust
Stars
30.6k
Forks
2.1k
Avg merge
1d 9h
Merged PRs (30d)
72

Description

When editing text on a mobile keyboard, the edited text is highlighted as if it was being modified in IME mode. It should instead just behave like a regular input, which means we should _not_ enable IME if we're editing on a mobile keyboard.

One possible solution is to ignore the `composition` events when `is_mobile()` is `true`.

Contributor guide

Open the contributing guide

Research direction

Start by tracing egui's mobile keyboard input handling and the composition events mentioned in the issue, then reproduce the highlighted-text behavior on a mobile keyboard. Done means mobile editing behaves like regular input without IME handling, while other composition-based input remains unaffected.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
frontend, mobile-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.