leecade / leecade/react-native-swiper

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

Open
#1,357 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
10.5k
Forks
2.3k
PR merge metrics
No merged PRs in 30d

Description

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>
  )
}

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the flicker with the provided App component on Ubuntu 22.04.1, using react-native-swiper v1.6.0 and React Native v0.70.6. Compare swiping with and without the Swiper component; done means the reported flicker is no longer visible during swipes.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react-native
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.