meliorence / meliorence/react-native-snap-carousel

first and last item from the list to stick to top/left and bottom/right side of the slider width

Open
#491 2 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

Is this a bug report, a feature request, or a question?

A feature request.

I need first item from the list to stick to top/left side of the slider and last item to stick bottom/right side of the list if loop is false and list is vertical/horizontal respectively. don't want to see empty space before or after the list items. please also suggest if there is a work around for the time being.

Thanks and regards.

Contributor guide

Open the contributing guide

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 carousel with loop=false in both horizontal and vertical layouts, using the first and last items to inspect the unwanted empty space. The work is done when the first item reaches the top/left edge and the last item reaches the bottom/right edge without empty space in either orientation.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react-native
Domain
mobile
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 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.