Jakub Piasecki
jpiasecki.com
Jakub Piasecki
@jpiasecki.com
Working with the New Architecture in React Native and making some gestures at Software Mansion.

Also top 10k at beatleader.xyz
They do work on Android, though it seems they are broken on iOS. We'll look into it 🫡
February 10, 2025 at 5:23 PM
Unlike what their names suggest, they are not symmetric and you need to override both to get the desired behavior, which is not stated anywhere.
January 10, 2025 at 10:09 AM
To give some context, there are two methods on iOS which may be used to implement this behavior: `shouldBeRequiredToFailByGestureRecognizer` (developer.apple.com/documentatio... ) and `shouldRequireFailureOfGestureRecognizer` (developer.apple.com/documentatio... ).
January 10, 2025 at 10:09 AM
Unfortunately, shadow nodes from the core are marked as final so you cannot simply extend them, and deriving on Java/ObjC isn't enough.
November 26, 2024 at 4:22 PM
Yeah, on the new architecture measurement is done in the shadow nodes (::measureContent) so just copying the ones from RN would do the trick.

This would also fix nesting Text components since it's also handled there: github.com/facebook/rea...
github.com
November 26, 2024 at 4:21 PM
I'm sorry you had to go through this 🙈. Do you happen to have a small reproduction by any chance?
November 12, 2024 at 11:40 AM