-
Notifications
You must be signed in to change notification settings - Fork 20
Open
Description
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?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
Backlog