Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Jump to first item after reindexing #210

Open
DKhalil opened this issue May 10, 2016 · 3 comments · May be fixed by #336
Open

Jump to first item after reindexing #210

DKhalil opened this issue May 10, 2016 · 3 comments · May be fixed by #336

Comments

@DKhalil
Copy link

DKhalil commented May 10, 2016

This is really more of an annoyance than a bug:
After opening the fuzzy finder and entering a search string, the item selection jumps to the start of the list as soon as the 'Reindexing project' message is gone.

  1. Is it really reindexing the whole project everytime?
  2. It leads to opening the wrong file quite often - which is very annoying.
@DKhalil
Copy link
Author

DKhalil commented May 10, 2016

Oh, right, if it helps:

Problem found on Atom 1.7.3 on Win10 (no clue how far back this issue goes)

@Ben3eeE
Copy link

Ben3eeE commented Feb 13, 2018

  1. Open Atom in the atom/atom repository using atom --safe .
  2. Open the fuzzy-finder to index it
  3. Switch focus away from the Atom window
  4. Focus the Atom window and open fuzzy-finder it should now start reindexing
  5. Type text and move down to the second item text-editor.js
  6. Press enter to open text-editor.js

Expected: Open text-editor.js
Acutal: Opens text-utils.js which is the first item in the fuzzy-finder

jump to first

@winstliu
Copy link
Contributor

Essentially it's because the whole list gets rerendered.

@winstliu winstliu linked a pull request Feb 17, 2018 that will close this issue
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants