emilk / emilk/egui

When tabbing into the text field of a slider, the text is not preselected

Open
#7,064 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Rust
Stars
30.6k
Forks
2.1k
Avg merge
1d 9h
Merged PRs (30d)
72

Description

Example: https://0x53a.github.io/UAS-SigVer/

(Source at https://github.com/0x53A/UAS-SigVer/)

When I click into the text field of a slider, the text is automatically selected and I can start typing.

If I instead tab-navigate into the text field of a slider, the text is NOT selected. Instead the cursor is placed at the end.

This means, ``tab -> `` doesn't work, instead a user needs to do ``tab -> CTRL+A -> ``

Contributor guide

Open the contributing guide

Research direction

Reproduce the behavior using the linked UAS-SigVer example, comparing mouse focus with tab navigation into the slider's text field. Trace the egui slider text-field focus handling and verify that tabbing selects the existing text so typing replaces it without requiring Ctrl+A.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
accessibility
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.