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
I encountered an issue in newer versions of Skia. When using withDecay, the animation stutters. In Skia version 1.9.0, everything worked fine on both the New and Old React architecture. Touch-based scrolling without withDecay seems to work without issues. The versions of Reanimated and Gesture Handler have no impact on this.
I'm using Gesture.Pan() for scrolling, and withDecay is applied in onEnd. The movement is handled through Group transform using useDerivedValue. There is a fairly heavy computation and state changes happening in the component during scrolling, but as I said, it worked perfectly smoothly with the older Skia version.
React Native Skia Version
v2.0.0-next.1
React Native Version
0.78
Using New Architecture
Enabled
Steps to Reproduce
Create PAN gesture handler
Apply transform to Skia Group
Snack, Code Example, Screenshot, or Link to Repository
Description
I encountered an issue in newer versions of Skia. When using withDecay, the animation stutters. In Skia version 1.9.0, everything worked fine on both the New and Old React architecture. Touch-based scrolling without withDecay seems to work without issues. The versions of Reanimated and Gesture Handler have no impact on this.
I'm using Gesture.Pan() for scrolling, and withDecay is applied in onEnd. The movement is handled through Group transform using useDerivedValue. There is a fairly heavy computation and state changes happening in the component during scrolling, but as I said, it worked perfectly smoothly with the older Skia version.
React Native Skia Version
v2.0.0-next.1
React Native Version
0.78
Using New Architecture
Steps to Reproduce
Create PAN gesture handler
Apply transform to Skia Group
Snack, Code Example, Screenshot, or Link to Repository
Simplified Code Selection:
SkiaStuttering.mov
The text was updated successfully, but these errors were encountered: