-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Open
Labels
Description
XState version
XState version 5
Description
A child state under a parallel state with type: "final" set isn't actually final, and can still transition away to other sibling nodes.
Expected result
I expected a final state to be final, and not allow transitions away.
Actual result
Events can transition away from the final state. The inspector even warns that it shouldn't be possible.
Reproduction
https://codesandbox.io/p/devbox/xstate5-parallel-event-transitions-forked-lk73v7
Additional context
xstate@5.26
Reactions are currently unavailable