question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Question] Slide Alignment

See original GitHub issue

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

Feature request/Question

Have you followed the required steps before opening a bug report?

Have you made sure that it wasn’t a React Native bug?

Nope

Environment

Environment: React: 16.8.6 React native: 0.59.8 react-native-snap-carousel: 3.8.0

Target Platform: Android (6.0) iOS (100)

Actual Behavior

My carousel is not infinite. I would like the first item to be snapped on the left and the last item snap to the right. In between the active slide should be centered. Is it possible to achieve this behavior please ?

Group

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
bd-arccommented, Apr 6, 2020

@aldimirprincipal The timing is spot on!

I think you’re going to really like this, and particularly the useExperimentalSnap feature 😉

1reaction
bd-arccommented, Jun 27, 2019

Hi @pixelize,

Unfortunately, this is not possible at the moment. I’ve previously tried implementing it by leveraging ScrollView’s snapToAlignment prop but this one was so buggy that I had to give up.

You’ll find a lot of insights about this in #102. Some users have been ok with the workaround described at the end of the thread — but note that it will probably mess with the callbacks.

There’s hope however! I’ve been thinking about a new implementation for a few months, but still haven’t had time to really work on it…

Read more comments on GitHub >

github_iconTop Results From Across the Web

Alignment of answers on Question slide - Adobe Support ...
The alignment of the question object is defined in the style, sometimes switching to another alignment and back to the original one can...
Read more >
Align to Slide vs. Align Objects in PowerPoint - Wall Street Prep
You have two options to choose from when using the Alignment Tool in PowerPoint: 'Align Selected Objects' and 'Align to Slide'.
Read more >
Multiple Choice and Multiple Answer Alignment of Selection in ...
Hi there, Does anyone know if it is possible to align the check box ... and Multiple Answer Alignment of Selection in a...
Read more >
[Question] Slide Alignment · Issue #536 - GitHub
My carousel is not infinite. I would like the first item to be snapped on the left and the last item snap to...
Read more >
Aligning Objects Between PowerPoint Slides (the Smart Way)
Learn how to align objects between your PowerPoint slides so that everything is properly aligned. This free add-in makes it easy too.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found