emilk / emilk/egui

Text field is covered by keyboard on mobile web

Open
#4,572 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

Previously `eframe` would shrink the canvas by an arbitrary amount to try and accomodate a mobile keyboard being shown on the bottom of the screen when the text agent was focused. This is no longer done as of:
- https://github.com/emilk/egui/pull/4561

We should come up with some alternative way to solve the issue. One potential solution is to forcefully scroll the viewport so that the input is always visible.

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the linked pull request #4561 and reproducing the text-input behavior on mobile web with the keyboard open. Done means the focused input remains visible without shrinking the canvas by an arbitrary amount; the issue suggests forcefully scrolling the viewport as one possible direction.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust, wasm
Domain
frontend, mobile-dev, web-dev
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.