Skip to content

Fixed TypeError due to race condition in node onFocus and onBlur promises - #244

Merged
predikament merged 3 commits into
mainfrom
async-focus-blur-issue
Aug 28, 2026
Merged

predikament merged 3 commits into
mainfrom
async-focus-blur-issue

Conversation

@predikament

Copy link
Copy Markdown
Collaborator

Fixed

  • Race condition where onIntermediateNodeBecameBlurred and onIntermediateNodeBecameFocused functions could throw a TypeError if the component no longer existed once promises resolve

@predikament predikament self-assigned this Aug 28, 2026
@predikament
predikament requested a review from a team as a code owner August 28, 2026 11:11
@predikament predikament added the bug Something isn't working label Aug 28, 2026
@changeset-bot

changeset-bot Bot commented Aug 28, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 3ef4590

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@noriginmedia/norigin-spatial-navigation-core Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@asgvard asgvard left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

@predikament
predikament merged commit 3d33d5f into main Aug 28, 2026
1 check passed
@predikament
predikament deleted the async-focus-blur-issue branch August 28, 2026 11:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants