leecade / leecade/react-native-swiper

How create a dynamic height to swiper container according slide height?

Open
#1,235 6 comments 2 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 ?

both, iOS and Android

Version

Which versions are you using:

  • react-native-swiper v1.6.0-rc.3?
  • react-native v16.9.0?
Expected behaviour

Dynamic height according slider, to dynamic height of lists and and static height for a few views.

Actual behaviour

Currently takes the major height of slide and set as the default height (as a static height, not adjusting according content).

How to reproduce it>

To help us, please fork this component, modify one example in examples folder to reproduce your issue and include link here.
Create two sliders with different heights.

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 in the examples folder with two sliders of different heights on both iOS and Android. Trace how the swiper determines its container height and verify that the result adjusts to slide content rather than retaining the tallest slide height.

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.