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

reset editor history position on set content #1316

Merged
merged 1 commit into from
Mar 10, 2021

Conversation

HerrEmil
Copy link
Contributor

@HerrEmil HerrEmil commented Mar 9, 2021

This fixes an issue where if you have navigated back in query history, then run a query with the run button instead of Ctrl+Return, your position in history remained and the next Ctrl+arrow key would put you in an unexpected position in the history. A similar issue happened when navigating history and then updating the editor content by editing a favorite/project file or copying a code example from a guide.

Demo: http://query-history-fix.surge.sh/

changelog: Fix an issue with query history not being reset in some cases

@HerrEmil HerrEmil merged commit 93f11d4 into neo4j:master Mar 10, 2021
@HerrEmil HerrEmil deleted the query-history-fix branch March 10, 2021 13:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants