statelyai / xstate-tools

Public monorepo for XState tooling

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Editor undo sometimes causes transition to be deleted in code, but not in the visualiser

johtso opened this issue · comments

bug.mov

As illustrated in the video, the following steps reproduce the issue.

  1. turn a transition into a guarded transition through the editor
  2. immediately undo the action

The entire original transition will be deleted from the code, but will remain in the visualiser.

Thanks for the report; investigating.