8000 Update search query text when searching and set cursor to end of line by Kuuuube · Pull Request #1950 · yomidevs/yomitan · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Update search query text when searching and set cursor to end of line #1950

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

Merged
merged 1 commit into from
Apr 16, 2025

Conversation

Kuuuube
Copy link
Member
@Kuuuube Kuuuube commented Apr 15, 2025

It's a bit strange to type something ending in with a single n on the end and then see the search happen but n doesn't become . This doesn't matter for strictly usability (Yomitan searches the anyways) but it feels weird. The user searching can be taken similarly to the user acknowledging that composing is finished and converting everything should be fine.

With this change for example typing どn and searching will make it automatically become どん in the search bar.

Clicking in the middle of the search text, searching, then hitting backspace or typing and having the text cursor end up back where you clicked before your searched is also weird. And especially annoying when trying to quickly wipe the search box (ctrl + shift + backspace).

@Kuuuube Kuuuube added kind/enhancement The issue or PR is a new feature or request area/ui-ux The issue or PR is related to UI/UX/Design labels Apr 15, 2025
@Kuuuube Kuuuube requested a review from a team as a code owner April 15, 2025 21:09
@Casheeew Casheeew added this pull request to the merge queue Apr 16, 2025
Merged via the queue into yomidevs:master with commit d2fd7ec Apr 16, 2025
25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/ui-ux The issue or PR is related to UI/UX/Design kind/enhancement The issue or PR is a new feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0