You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(cdk/stepper): error if out-of-bounds index is assigned before initialization (#20766)
Fixes an error if an out-of-bounds index is assigned before the steps are
available and the user tries to navigate. Usually we have an assertion that
prevents invalid indexes from being assigned, but it doesn't run before
initialization, because we don't know how many steps there will be yet.
These changes add a check that will revert the index back to 0 if the index
is invalid on initialization.
Fixes#20735.
0 commit comments