ang-jsoneditor
ang-jsoneditor copied to clipboard
Search in Tree mode not scrolling to element found
Using the ang-jsoneditor and loading a json file that is large enough to take up more than the vertical screen height. When searching for something that is at the bottom of the json tree, the searched item is found but the control does not auto-scroll to bring the item into display.
In the above (forked) example, search for Blah in the first component. If finds the 2 instances, but it does not bring them into view. Doing the same thing in the native json-editor works correctly.
:host ::ng-deep json-editor, :host ::ng-deep json-editor .jsoneditor, :host ::ng-deep json-editor > div, :host ::ng-deep json-editor jsoneditor-outer { height: 500px; }
use this it will fix your problem. I was also facing the same issue