Skip to content

Fix null element access in requestAnimationFrame callbacks#47

Merged
SukuWc merged 1 commit intomainfrom
SUKU-fix-molten-push-button-unmount
Jan 26, 2026
Merged

Fix null element access in requestAnimationFrame callbacks#47
SukuWc merged 1 commit intomainfrom
SUKU-fix-molten-push-button-unmount

Conversation

@SukuWc
Copy link
Member

@SukuWc SukuWc commented Jan 26, 2026

Add null check for element inside requestAnimationFrame callback in MoltenPushButton and MoltenPushButtonDropdown. The element can become null after await tick() if the component is destroyed during the async operation, causing "Cannot read properties of null" errors.

Add null check for element inside requestAnimationFrame callback in
MoltenPushButton and MoltenPushButtonDropdown. The element can become
null after await tick() if the component is destroyed during the async
operation, causing "Cannot read properties of null" errors.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@SukuWc SukuWc merged commit 172c712 into main Jan 26, 2026
2 checks passed
@github-actions
Copy link

Visit the preview URL for this PR (updated for commit db3abef):

https://grid-uikit-web--pr47-suku-fix-molten-push-ukkbrvj4.web.app

(expires Mon, 02 Feb 2026 16:38:47 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: fa3702ba7646b18d80eab9773581f2606c0cda39

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant