leecade / leecade/react-native-swiper
Navigating via buttons is slow
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 ?
Android
Version
Which versions are you using:
- react-native-swiper v^1.5.6
- react-native v0.55.4
Expected behaviour
Pushing Next/Previous buttons should navigate to the next/previous page without delay.
Actual behaviour
There's a short delay of a second or so before scrolling after clicking the button (Button goes grey for a second and then page switches). Swiping navigates without delay.
Steps to reproduce
- Have a swiper component with showsButtons={true}
- Push the 'next' button
- Observe short delay before page switches to the next one
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the delay on Android with react-native-swiper v1.5.6 and React Native 0.55.4 using a swiper with showsButtons={true}. Trace the Next and Previous button navigation separately from swipe navigation, and consider the issue done when button presses switch pages without the reported delay.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, react-native
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100