leecade / leecade/react-native-swiper

loading not stopping when loadMinimal is true in android

Open
#1,114 3 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

Android

Version
  • react-native-swiper v1.6.0-nightly.5
  • react-native v0.61.4
Expected behaviour

The loading component should stop and the page will be shown.

Actual behaviour

The loading not stoping.

How to reproduce it>
<Swiper
  showsPagination={false}
  loop={false}
  loadMinimal
>
  <View style={{height: "100%", width: "100%", backgroundColor: "red"}}/>
  <View style={{height: "100%", width: "100%", backgroundColor: "green"}}/>
  <View style={{height: "100%", width: "100%", backgroundColor: "blue"}}/>      
</Swiper>
Steps to reproduce
  1. insert the code above.
  2. swipe left and right.
  3. remove loadMinimal and it's working fine.

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 issue on Android with react-native-swiper v1.6.0-nightly.5 and React Native v0.61.4 using the provided Swiper example. Compare behavior with loadMinimal enabled and disabled; done means loading stops after swiping and the page is shown.

Written by the indexing model from the issue text.

Assessment

Tech stack
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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.