79144678

Date: 2024-10-31 12:16:54
Score: 0.5
Natty:
Report link

Add {useNativeDriver: false} after ending square bracket then it will work.

        onScroll={Animated.event(  [
          {
            nativeEvent: {
              contentOffset: {
                x: scrollX,
              },
            },
          },
        ],{useNativeDriver: false}  )
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Hakan