Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: custom shadow nodes #2568

Merged
merged 9 commits into from
Dec 12, 2024
Merged

feat: custom shadow nodes #2568

merged 9 commits into from
Dec 12, 2024

Conversation

jakex7
Copy link
Member

@jakex7 jakex7 commented Dec 6, 2024

Summary

Implement custom shadow nodes for nearly all Svg components. While it's a foundation for numerous upcoming changes, it currently addresses and resolves #2544.

Test Plan

There shouldn't be any noticeable changes, and everything should function as before, except that onLayout will now be triggered only once and with the correct dimensions.

Compatibility

OS Implemented
iOS
MacOS ✅❌
Android

@jakex7 jakex7 requested a review from j-piasecki December 6, 2024 12:14
Copy link
Member

@j-piasecki j-piasecki left a comment

Choose a reason for hiding this comment

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

I only looked at the code, should I also try to build it locally?

Co-authored-by: Jakub Piasecki <[email protected]>
@jakex7 jakex7 changed the base branch from main to @jakex7/16 December 12, 2024 10:46
@jakex7 jakex7 changed the base branch from @jakex7/16 to main December 12, 2024 10:48
@jakex7 jakex7 merged commit d3d61a5 into main Dec 12, 2024
9 of 12 checks passed
@jakex7 jakex7 deleted the @jakex7/customShadowNodes branch December 12, 2024 10:48
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.

Text element onLayout gives wrong dimensions on iOS with New Achitecture RN 0.76
2 participants