json-viewer icon indicating copy to clipboard operation
json-viewer copied to clipboard

Option to change scroll position for search results

Open shemetz opened this issue 4 years ago • 0 comments

Currently, when you search for something in the document and hit Enter, the screen scrolls down to find it but stops scrolling almost immediately after finding it. This causes the highlighted result to be very low on my screen, and prevents me from seeing useful context for it.

The standard Chrome search, if it needs to scroll down to show the next search result, will scroll until the highlighted result is in the middle of the screen - about 20 lines down, for me (on my screen which shows up to 43 json lines). However, this extension's search will scroll down to put it near the bottom - about 41 lines down for me, only putting a single extra line below it.

It would be great to change this behavior, even if just as a settings option.

shemetz avatar Sep 08 '19 14:09 shemetz