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

Clicking back and forth between nodes loses edits. #410

Merged
merged 1 commit into from
Jan 23, 2024

Conversation

kreneskyp
Copy link
Owner

Description

Another tab related state issues: Clicking back and forth between nodes loses edits.

OnNodeDragStop handler was updating with stale data. This would result in nodes reverting to the state from when they were initially loaded from the API. Changes were reflected in the database, but UI was stale.

Changes

OnNodeDragStop now uses updated state

How Tested

[Explain how you tested this pull request. Include any relevant steps or scripts.]

TODOs

[List any outstanding TODOs or known issues that still need to be addressed.]

…edits whenever a node was moved. Since position handle sometimes fires when clicking on a node, just clicking back and forth could corrupt node configs
@kreneskyp kreneskyp merged commit eb13267 into master Jan 23, 2024
6 checks passed
@kreneskyp kreneskyp deleted the fix_position_node_corruption branch January 23, 2024 19:49
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

Successfully merging this pull request may close these issues.

1 participant