leecade / leecade/react-native-swiper

Need a 'pageMargin'

Open
#904 1 comment 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 ?

Android and iOS

Version

Which versions are you using:

  • react-native-swiper v1.5.4
  • react-native v0.55
Expected behaviour

In android, we can use swiper as component ViewPagerAndroid to set the props which named pageMarigin.Then, the swiper will not be full of page,but in iOS, the swiper is used as component ScrollView and I don't know how to get the props like pageMargin.
My english is not good and thanks for watch.
qqimg

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 at the swiper component's Android ViewPagerAndroid and iOS ScrollView paths, comparing how each platform handles page spacing. Check the existing component props and platform behavior, then verify that a pageMargin-like option produces the requested inset effect on both Android and iOS.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react-native
Domain
frontend, mobile-dev
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.