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.

Android snap is very bad

See original GitHub issue

When you scroll to fast on Android, the snap item is very bad, an is not like in you show case app.

<Carousel
			ref={(carousel) => { this._carousel = carousel; }}
			sliderWidth={sliderWidth}
			itemWidth={itemWidth}
			firstItem={currentIndex}
			inactiveSlideScale={0.9}
			inactiveSlideOpacity={1}
			enableMomentum={false}
			showsHorizontalScrollIndicator={false}
			snapOnAndroid={true}
			enableSnap={true}
			containerCustomStyle={containerCustomStyle}
			contentContainerCustomStyle={contentContainerCustomStyle}
			onSnapToItem={(index) => {
				this.setState({
					currentIndex : index
				});
			}}
			>
                         {this._renderItems()}
                       </Carousel>

any fix about this?

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:5
  • Comments:14 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
jkvimcommented, Jul 21, 2017

Hi @bd-arc , what is theEasing module in your example

<Carousel
  animationOptions={{
      easing: Easing.out(Easing.quad),
      duration: 350,
      isInteraction: false,
      useNativeDriver: true
  }}
/>
0reactions
jkvimcommented, Jul 21, 2017

@bd-arc thanks.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Why does Snapchat look so bad on Samsung phones? - Quora
Snapchat looks bad on all Android phones. The reason is because when Snapchat makes the Android app, they have to make it for...
Read more >
Why Snapchat Photos Taken on Android Look Terrible
Snapchats from Androids are much worse than from iPhones. That's because it's way easier to develop an app for iPhone. Developers only have...
Read more >
How To Fix Snapchat Camera Quality on Android | ITGeared
It is proper to think having a poor network from Wi-Fi, or mobile data can cause poor Snapchat camera quality. This is because...
Read more >
Why Do Android Phones Have Bad Snapchat Pictures?
The main reason for this is that Androids use a process called 'compression' to save images, which can result in lower quality images....
Read more >
Snapchat ruined the reputation of Android. - Reddit
Snapchat's refusal to create an app that actually uses the camera API, or at least optimize the app itself, has made for a...
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