Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Json in JSON editor scrolling automatically if having search text in search box. #1545

Open
Laxmikantwagh25 opened this issue Aug 29, 2023 · 1 comment

Comments

@Laxmikantwagh25
Copy link

Hi,

I am using JSON editor and I am modifying value fields by selection from popup with drop down.
Steps as below:
1.Search key in the search box.
2.Search result scroll and focus to searched key/value.
3.Again scroll down and modify any other value by clicking on it.
4.By click on value field, Popup is appearing with dropdown.
5.Select the value from drop down and click on OK in popup and that value is applying in value field of json but json is scrolling up to its original position of searched text in search bar.

Our expectation is JSON should not scroll up automatically to respective searched text position in the JSON and just keep at same potion at modified key/value using popup with dropdown.

I hope you will understand the scenario.
Thanks in advance.

@josdejong
Copy link
Owner

Thanks for reporting. This sounds similar to #1544.

I tried to reproduce this issue but so far without success. A few more questions:

  1. Which mode are you using? tree or code?
  2. Are you sure you're referring to the jsoneditor library and not for example its followup svelte-jsoneditor?
  3. Would it be possible to share a screen recording showing the issue in action on your screen (for example with ShareX)?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants