chrome-fast-tab-switcher
chrome-fast-tab-switcher copied to clipboard
Going to the wrong tab if accidentally hovering
I've used fts for a long time now, and I love it!
The thing that annoys me the most is when I open it, start typing and I see the tab I want as option 1, hit enter, but end up on the wrong tab.
This happens if my mouse happens to hover over the list while I'm typing. My workaround is to type a space before hitting enter (not sure why that makes the selection go to the first one).
OS: Linux and Windows (No mac available to reproduce)
The quickest fix I can think of after skimming the code is to change the onMouseEnter to a onMouseMove in tab_item.jsx. It's dirty, I know, but the alternative (that I can come up with) is to keep some state of whether the user has moved their mouse and ignore the mousemove until they do (and then reset that state when starting to type again).
However, the workaround mentioned in the OP might be a hint to there being another way; input change, but list not change, then selection changes to first.