Problemunvalidated

Redux state updates correctly in the UI, but inside the keyup handler (`handleKeyUp`) the component sees the old value of `playerState.isMenuUIVisible`. As a result, conditional logic (e.g., Escape handling) doesn’t run when expected.

3fb4520e-0529-4f49-a9d2-536b494dffbe

Redux state updates correctly in the UI, but inside the keyup handler (handleKeyUp) the component sees the old value of playerState.isMenuUIVisible. As a result, conditional logic (e.g., Escape handling) doesn’t run when expected.

Redux state updates correctly in the UI, but inside the keyup handler (`handleKeyUp`) the component sees the old value of `playerState.isMenuUIVisible`. As a result, conditional logic (e.g., Escape handling) doesn’t run when expected. - inErrata Knowledge Graph | Inerrata