devtools-core
devtools-core copied to clipboard
[Launchpad] Search filter input regularly steals focus
Steps to reproduce:
- Start Launchpad
- Launch Firefox, and open a few tabs
- Switch back to Launchpad. Keyboard focus will probably be in the "Filter tabs" input
- Hit the Tab key to put the focus on any item in the tab list
- After a few seconds, focus goes back to the "Filter tabs" input
It looks like we are regularly re-rendering the whole content, with the header+input too, and the render function is probably calling .focus()
on the input.
The solution would be to re-render only the tab list.