You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With NativeWind v4 (css-interop runtime), an animated ScrollView loses its ref when rendered via Animated.ScrollView or Animated.createAnimatedComponent(ScrollView). useAnimatedRef() returns a handle that never reaches the native node, so calling scrollTo(ref, …) from a worklet does nothing (and log Value is null, expected an object).
If I render the same ScrollView outside the css-interop runtime (wrapper with /** @jsxImportSource react */ + forwardRef) and then animate that wrapper, the ref is valid and scrollTo works.