Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

On iOS safari, clicking a text field won't always bring up the on-screen keyboard #4569

Closed
emilk opened this issue May 29, 2024 · 2 comments
Closed
Labels
bug Something is broken eframe Relates to epi and eframe help wanted Extra attention is needed web Related to running Egui on the web

Comments

@emilk
Copy link
Owner

emilk commented May 29, 2024

Go to egui.rs and open the "Text Edit" demo. Click the text input box, and the box will flash white, but nothing else happens. If you keep clicking it many times, eventually you will get a text cursor but still no on-screen keyboard. Only on the NEXT click will the on-screen-keyboard show up.

@emilk emilk added bug Something is broken web Related to running Egui on the web labels May 29, 2024
@emilk emilk added help wanted Extra attention is needed eframe Relates to epi and eframe labels May 29, 2024
@emilk
Copy link
Owner Author

emilk commented Jul 1, 2024

I'm not sure how to trigger the mobile keyboard on web. Maybe we need an invisible <input> element covering every TextEdit in the eframe app, so that when the user taps it, it gets focus.

At the moment we only have one such <input> element (TextAgent), and it is just one pixel big.

@emilk
Copy link
Owner Author

emilk commented Aug 27, 2024

Closed by #4855

@emilk emilk closed this as completed Aug 27, 2024
hacknus pushed a commit to hacknus/egui that referenced this issue Oct 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something is broken eframe Relates to epi and eframe help wanted Extra attention is needed web Related to running Egui on the web
Projects
None yet
Development

No branches or pull requests

1 participant