Skip to content

Conversation

@janicduplessis
Copy link
Contributor

@janicduplessis janicduplessis commented Jan 19, 2026

Summary

Passing undefined to a color prop in v4 causes an error [ReanimatedError: [Reanimated] Invalid color value: undefined], this skips processing props that are undefined or null.

Test plan

Tested in an app with a style like { borderColor: undefined }, which doesn't crash in v3, but does in v4. Tested that it no longer crashes after this change.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant