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.

Swiper freezes on second slide.

See original GitHub issue

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

Bug report

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

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

Yes

Is the bug specific to iOS or Android? Or can it be reproduced on both platforms?

Both iOS and Android

Is the bug reproductible in a production environment (not a debug one)?

Yes.

Environment

software version
react 16.5.0
react-native 0.56.1
react-native-snap-carousel 3.7.3
Target Android (6.0)
Target iOS (9.0)

Expected Behavior

The swiper should be swipeable. If downgrading and fixing to react-native-snap-carousel 3.7.2 it works as expected.

Actual Behavior

After updating the yarn.lock file, the swiper broke in our app. We could swipe to the second slide, but then it froze. We could neither slide forward nor backward. Interactions (e.g. links) on the current slide still work.

Reproducible Demo

Unfortunately I couldn’t reproduce this bug in a minimal app. Everything worked fine. I’ll continue to work on a reproduction and update this issue.

Does anybody else have similar problems or a setup where the carousel breaks with the latest react-native-snap-carousel version? I’d appreciate if someone could confirm the issue or help me resolve it.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:20 (9 by maintainers)

github_iconTop GitHub Comments

2reactions
harrisonlocommented, Oct 11, 2018

For anyone who still seems to have a similar issue, removeClippedSubviews={false} might solve your problem.

1reaction
bd-arccommented, Sep 13, 2018

@dpogoda Should be fixed in version 3.7.4 😉

Read more comments on GitHub >

github_iconTop Results From Across the Web

Swiper freezes on second slide. · Issue #392 - GitHub
We could swipe to the second slide, but then it froze. We could neither slide forward nor backward. Interactions (e.g. links) on the...
Read more >
Swiper continous loop without pause between sliding
This works fine so far. But is it possible with the swiper not to stop between each 3 slides? Right now there is...
Read more >
AutoplayOptions | Swiper - v8.4.5
If you need to specify different delay for specific slides you can do it by using data-swiper-autoplay (in ms) attribute on slide. example...
Read more >
Swiper bugs when content modified from another tab
... I have a swiper which is present if the list is not empty (v-if="todos.length"), and with a v-for to create as many...
Read more >
Prototype Pollution in swiper | CVE-2021-23370 | Snyk
Upgrade swiper to version 6.5.1 or higher. Overview. swiper is a Most modern mobile touch slider and framework with hardware accelerated ...
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