#46021 closed enhancement (fixed)
Timing of Ajax loading of found Plugins vs browser autocomplete
Reported by: | apermo | Owned by: | SergeyBiryukov |
---|---|---|---|
Milestone: | 5.3 | Priority: | normal |
Severity: | minor | Version: | 5.0.3 |
Component: | Plugins | Keywords: | has-patch |
Focuses: | ui, accessibility, administration | Cc: |
Description
Setup: any recent WordPress Version, Plugins irrelevant, Mac, Chrome
On the screen: /wp-admin/plugin-install.php
The search field allows browser based autocomplete, and in my personal example I quite often search for "better search and replace". So once I typed in "better" I already see the autocomplete. But the timing for the ajax reload is so short, that moving the hand from the keys, to the arrows, pressing down and hitting return will not be enough.
Instead it loads the already found plugins (and better will not find better search replace), and voids the browser autocomplete.
What I'd expect:
a working autocomplete, so at least a longer pause, before calling the ajax search/resetting the form, or pausing the process when arrow keys/mousemovement are registered.
Possible other solution:
disable autocomplete for the plugin search field, it's worse than the solution above, but at least the not working autocomplete, would no longer confuse the UX.
Attachments (1)
Change History (5)
#1
@
5 years ago
- Focuses accessibility added
- Keywords needs-patch added
- Milestone changed from Awaiting Review to 5.3
#2
@
5 years ago
- Keywords has-patch added; needs-patch removed
I tested and like @apermo mentioned, it really is kind of annoying that while using the arrow keys to select from the autocomplete suggestions, it suddenly removes the selection and perform the search. It's mainly because of the set 500ms wait time.
Like @apermo suggested, it's plausible to increase the wait time to give the user appropriate amount of time to type then navigate through the autocomplete. I did several tests on different wait times and I think 1000ms is suitable.
Increased the wait time from 500ms to 1000ms.