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
There seems to be an issue with swiping images, which becomes buggy when using react-native-reanimated version 3.9.0 or higher. When using react-native-reanimated 3.8.1 or older (tried with 3.6.2 also) swiping is smooth.
When swiping images, the image seems to come almost to the end of screen (~80% of the swipe) and then for a moment it jumps back and forth a bit, before positioning to the end of screen (end of swipe). It's hard to explain so please look at the attached videos below.
Steps to Reproduce
Set up an Expo project with the latest version of react-native-awesome-gallery.
Ensure that react-native-reanimated is updated to version 3.9.0 or higher.
Implement a basic gallery view with multiple images to swipe through.
Observe the swiping behavior.
Expected Behavior
Swiping between images should be smooth and seamless.
Actual Behavior
Swiping is buggy and does not provide a smooth experience.
Additional Information
No warnings or error messages are displayed. I am using Expo SDK 51 & expo-router 3.5 which requires reanimated library version >= 3.10 so downgrading to an older reanimated version is not an option.
I have also tried this in versions 3.11.0 which is also buggy and 3.8.1 which is not buggy.
Environment
Description
There seems to be an issue with swiping images, which becomes buggy when using react-native-reanimated version 3.9.0 or higher. When using react-native-reanimated 3.8.1 or older (tried with 3.6.2 also) swiping is smooth.
When swiping images, the image seems to come almost to the end of screen (~80% of the swipe) and then for a moment it jumps back and forth a bit, before positioning to the end of screen (end of swipe). It's hard to explain so please look at the attached videos below.
Steps to Reproduce
Expected Behavior
Swiping between images should be smooth and seamless.
Actual Behavior
Swiping is buggy and does not provide a smooth experience.
Additional Information
No warnings or error messages are displayed. I am using Expo SDK 51 & expo-router 3.5 which requires reanimated library version >= 3.10 so downgrading to an older reanimated version is not an option.
I have also tried this in versions 3.11.0 which is also buggy and 3.8.1 which is not buggy.
Videos
[email protected] (example of smooth swiping)
3.6.2.mp4
[email protected] (example of jittery/buggy swiping)
3.10.1.mp4
The text was updated successfully, but these errors were encountered: