Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

flicker in the area of <Swiper> Component when swiping on the latest version of react-native #1357

Open
martixjohn opened this issue Dec 11, 2022 · 4 comments

Comments

@martixjohn
Copy link

martixjohn commented Dec 11, 2022

Which OS ?

Ubuntu 22.04.1 LTS

Version

  • react-native-swiper v1.6.0
  • react-native v0.70.6

Actual behaviour

flicker in area of <Swiper> Component happens when swiping on the latest version of react-native

How to reproduce it>

here is the code:

p.s. Whenever the is placed, it will still happen

const styles = StyleSheet.create({
  swiperContainer: {

  },
  swiperItem: {
    flex: 1,
    justifyContent: 'center',
    alignItems: 'center',
    backgroundColor: '#9DD6EB',
    fontSize: 40,
    color: 'black',
    fontWeight: 'bold'
  }
})
export default function App() {
  return (
      <Swiper style={styles.swiperContainer}>
        <View style={styles.swiperItem}><Text>1</Text></View>
        <View style={styles.swiperItem}><Text>2</Text></View>
        <View style={styles.swiperItem}><Text>3</Text></View>
      </Swiper>
  )
}
@musonant
Copy link

Experiencing the same issue

@hbycr1
Copy link

hbycr1 commented Apr 27, 2023

Having the same issue when using the ScrollBy method

@martixjohn
Copy link
Author

Having the same issue when using the ScrollBy method

seems that this lib not updated anymore. I solved my problems after switching to another lib react-native-reanimated-carousel which u can try it

@martixjohn
Copy link
Author

Experiencing the same issue

seems that this lib not updated anymore. I solved my problems after switching to another lib react-native-reanimated-carousel which u can try it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants