Bug: Parallel final states aren't actually final
Author: tivacCreated Feb 2, 2026Updated Feb 2, 2026
Labelsbug
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
Source: statelyai/xstate