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

Refocus search input on backspace #840

Merged
merged 2 commits into from
Apr 19, 2024

Conversation

andrewsartor
Copy link

Fixes #775. Note that this behavior gets overridden if backspace is set as a shortcut action.

Fixes yomidevs#775. Note that this behavior gets overridden if backspace is set
as a shortcut action.
@andrewsartor andrewsartor requested a review from a team as a code owner April 18, 2024 21:21
Copy link

github-actions bot commented Apr 18, 2024

✔️ No visual differences introduced by this PR.

View Playwright Report (note: open the "playwright-report" artifact)

@jamesmaa jamesmaa enabled auto-merge April 19, 2024 02:23
@jamesmaa jamesmaa added this pull request to the merge queue Apr 19, 2024
Merged via the queue into yomidevs:master with commit 65ee2c8 Apr 19, 2024
10 checks passed
@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 20, 2024
github-merge-queue bot pushed a commit that referenced this pull request Apr 21, 2024
* rework text processors

* rename text-preprocessors file

* Fix search header left margins on small screens (#839)

* Refocuses search input on backspace (#840)

Fixes #775. Note that this behavior gets overridden if backspace is set
as a shortcut action.

* Change hotkey triggering condition to account for IME usage (#837)

_isKeyCharacterInput only worked when not using an IME, as inside of an
IME when a keydown event is fired, the key is reported as "Process",
which does not have a key.length equal to 1. This resulted in hotkeys
being triggered while typing, which this commit fixes.

---------

Co-authored-by: James Maa <jmaa@berkeley.edu>
Co-authored-by: Kuuuube <61125188+Kuuuube@users.noreply.github.com>
Co-authored-by: Andrew Thomas Sartor <andrew@sartor.net>
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.

Make backspace cause auto-focusing in search window
4 participants