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: thegoncharov, Assigned: thegoncharov)
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
,down
keys 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•5 years ago
•
|
||
Hi Stanislav,
Thanks for the report.
I can reproduce the issue and the suggested fix is correct.
Cheers
Comment 3•5 years ago
|
||
(In reply to Stanislav Goncharov from comment #1)
Probably here should be
preventDefault
call
Adding a permalink for the location to fix mentioned in comment above. See here
Comment 4•5 years ago
|
||
Stanislav,
Would you be interested in fixing the bug?
Comment 6•5 years ago
|
||
Excellent . Assigned to you.
If you any question let me know.
Thanks.
Assignee | ||
Comment 7•5 years ago
|
||
Updated•5 years ago
|
Comment 9•5 years 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•5 years 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•5 years ago
|
||
Comment 12•5 years ago
|
||
bugherder |
Description
•