frzyc / genshin-optimizer

An Artifact optimizer for Genshin Impact.
https://frzyc.github.io/genshin-optimizer/
MIT License
750 stars 218 forks source link

add select on focus #2178

Closed artloren closed 1 month ago

artloren commented 1 month ago

Describe your changes

Changes NumberInputLazy fields to automatically select the whole text when focused, for ease of user experience.

Issue or discord link

Testing/validation

Tested locally, made sure that NumberInputLazy fields would automatically select the whole text. Difficult to screenshot this process.

Checklist before requesting a review (leave this PR as draft if any part of this list is not done.)

github-actions[bot] commented 1 month ago

[sr-frontend] [Sun May 26 02:16:08 UTC 2024] - Deployed 8d23c97ffd5e006f9d88b702a8d3bf1e54896e3b to https://genshin-optimizer-prs.github.io/pr/2178/sr-frontend (Takes 3-5 minutes after this completes to be available)

[frontend] [Sun May 26 02:16:42 UTC 2024] - Deployed 8d23c97ffd5e006f9d88b702a8d3bf1e54896e3b to https://genshin-optimizer-prs.github.io/pr/2178/frontend (Takes 3-5 minutes after this completes to be available)

[Tue May 28 03:53:03 UTC 2024] - Deleted deployment