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
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
finalstate to befinal, and not allow transitions away.Actual result
Events can transition away from the
finalstate. 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