Up/down key presses in filter autocomplete are propagated to filter input
Categories
(DevTools :: Netmonitor, defect, P3)
Tracking
(firefox80 fixed)
| Tracking | Status | |
|---|---|---|
| firefox80 | --- | fixed |
People
(Reporter: real.trd, Assigned: real.trd)
References
(Blocks 1 open bug)
Details
(Keywords: good-first-bug)
Attachments
(2 files)
Steps to reproduce
- Open DevTools Network Monitor
- Focus on Filter input
- Type some text and invoke autocomplete display
- Press
up,downkeys to navigate next/prev items in autocomplete list
What happened?
Besides list navigation, up key press moves filter's input cursor to begin, down key press moves filter's input cursor to end.
Check attached video for details
What should have happened?
up/down keys must not effect to input cursor position
Comment 2•11 months ago
•
|
||
Hi Stanislav,
Thanks for the report.
I can reproduce the issue and the suggested fix is correct.
Cheers
Comment 3•11 months ago
|
||
(In reply to Stanislav Goncharov from comment #1)
Probably here should be
preventDefaultcall
Adding a permalink for the location to fix mentioned in comment above. See here
Comment 4•11 months ago
|
||
Stanislav,
Would you be interested in fixing the bug?
Comment 6•11 months ago
|
||
Excellent . Assigned to you.
If you any question let me know.
Thanks.
| Assignee | ||
Comment 7•11 months ago
|
||
Updated•11 months ago
|
Pushed by jodvarko@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/5cbcce6ef3e5 Autocomplete list events are not propagated to input. r=Honza
Comment 9•11 months ago
|
||
Backed out changeset 5cbcce6ef3e5 (bug 1649548) for Mochitest failures in components/test/chrome/test_searchbox-with-autocomplete.html. CLOSED TREE
Log:
https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=308693156&repo=autoland&lineNumber=1951
Push with failures:
https://treeherder.mozilla.org/#/jobs?repo=autoland&group_state=expanded&revision=5cbcce6ef3e589ae6827de700c739e4afe050096
Backout:
https://hg.mozilla.org/integration/autoland/rev/3ba0ecffe7b3e26fdc12f3ee080cdddf77249621
| Assignee | ||
Comment 10•11 months ago
|
||
It seems that on Linux and Windows platforms same issue affects Home/End (both Linux and Windows) and PageUp/PageDown (Linux only) events.
I have updated patch
Comment 11•11 months ago
|
||
Pushed by abutkovits@mozilla.com: https://hg.mozilla.org/mozilla-central/rev/8a70ef88e4aa Autocomplete list events are not propagated to input. r=Honza
Comment 12•11 months ago
|
||
| bugherder | ||
Description
•