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

How can I prevent search from functioning after every change? #1544

Open
akshitasinghal1999 opened this issue Aug 23, 2023 · 3 comments
Open

Comments

@akshitasinghal1999
Copy link

If I have typed something in the search field, left it as it is, then do some other changes in the Json document, after reload the search again takes me to the matching string. I want to stop this behavior.

@josdejong
Copy link
Owner

Thanks for reporting. How can I reproduce your issue exactly? I tried but without success.

@akshitasinghal1999
Copy link
Author

Try with a json file in code mode. search something in the search bar, then scroll to some other position, type something. After typing, the search would work again and you will be scrolled to the search result while trying to so some other tasks.

@josdejong
Copy link
Owner

Thanks for the clarification. I tried your steps but don't manage to reproduce the issue. Any more pointers?

I tried it by pasting a relatively large JSON document in code mode in this example: https://github.com/josdejong/jsoneditor/blob/develop/examples/03_switch_mode.html

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