This issue happens in xstate-viz only but in the vscode xstate plugin works fine. When the child state is final, the parent's onDone need to be enabled and when onDone even is called it should go back to idle state but it just hangs in the visualizer without doing anything.
Description
This issue happens in
xstate-viz
only but in the vscode xstate plugin works fine. When the child state is final, the parent'sonDone
need to be enabled and whenonDone
even is called it should go back toidle
state but it just hangs in the visualizer without doing anything.example
Expected Result
When
onDone
is clicked it should transition to next state.Actual Result
It gets stuck at
onDone