Skip to content
This repository has been archived by the owner on Sep 21, 2021. It is now read-only.

[Launchpad] Search filter input regularly steals focus #1131

Open
fvsch opened this issue Feb 14, 2019 · 0 comments
Open

[Launchpad] Search filter input regularly steals focus #1131

fvsch opened this issue Feb 14, 2019 · 0 comments

Comments

@fvsch
Copy link

fvsch commented Feb 14, 2019

Steps to reproduce:

  1. Start Launchpad
  2. Launch Firefox, and open a few tabs
  3. Switch back to Launchpad. Keyboard focus will probably be in the "Filter tabs" input
  4. Hit the Tab key to put the focus on any item in the tab list
  5. 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.

@claim claim bot added the not-available label Feb 14, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant