vscode-json-editor icon indicating copy to clipboard operation
vscode-json-editor copied to clipboard

JSON Editor not auto scrolling while searching

Open ahmedhamdy2121 opened this issue 3 years ago • 0 comments

Hello, Thank you for the amazing extension, I was using Google App before this.

Issue description: JSON editor is not auto-scrolling while I am searching from its search box, which loses the advantage of having a search box in the first place.

Steps to reproduce:

  1. Open a JSON file with VSCode
  2. Press Command + Shift + P
  3. Select JSON Editor: Start JSON editor session
  4. A JSON editor tab will be opened in parallel showing the JSON tree of the currently opened JSON file
  5. Click on the search box and type a keyword to search for
  6. A search result count will appear next to the search box area. However, no auto-scrolling is happening, just the tree node opening without auto-scrolling
  7. Click the down or up arrow in the search box for more results, but nothing happens at all. However, if you scrolled manually you will find the current search result highlighted

My environment is as follow: OS: Mac OS OS Version: Big Sur 11.6.2 VSCode version: 1.61.2 JSON Editor extension version: 0.3.0

Screenshots: Screen Shot 2021-12-29 at 2 53 43 PM

As you noticed above, the search has been down and counted and the tree node has been opened, but auto-scroll didn't work and I need to manually scroll to see the first search result.

Have a good day, and please reach out to me for any help needed.

ahmedhamdy2121 avatar Dec 29 '21 20:12 ahmedhamdy2121