Hello,
it seems that the nativewind UI is not compatible with react-native-worklets > 0.5.1
When I use it with "react-native-worklets": "^0.6.1", I get this error from measure in SearchInput.ios.tsx:
at _measure (native)```
```SearchInput.ios.tsx
const rootStyle = useAnimatedStyle(() => {
if (_WORKLET) {
// safely use measure
const measurement = measure(animatedRef);
return {
paddingRight: showCancelDerivedValue.value
? withTiming(measurement?.width ?? cancelText.length * 11.2)
: withTiming(0),
};
}
return {
paddingRight: showCancelDerivedValue.value
? withTiming(cancelText.length * 11.2)
: withTiming(0),
};
});
Does anyone understand the issue?
Hello,
it seems that the nativewind UI is not compatible with
react-native-worklets> 0.5.1When I use it with "react-native-worklets": "^0.6.1", I get this error from measure in SearchInput.ios.tsx:
Does anyone understand the issue?