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.

facing flickering issue when scrolling from last item to first item in android and intermittently in ios

See original GitHub issue

when i am scrolling from my last image to first image or vice-versa , there is some flickering if the image in android. But in iOS it is happening intermittently. Also, those images are not getting loaded.

<Carousel
                       data={topCarouselImages}
                       renderItem={this._renderItem}
                       sliderWidth={screenWidth}
                       itemWidth={screenWidth}
                       loop={true}
                       loopClonesPerSide={5}
                       onSnapToItem={(index) => this.setState({ activeSlide: index })}
                   />
    _renderItem({ item, index }) {
        l        return (
            <View style={{ height: "100%", width: screenWidth }}>
                <Image
                    source={{ uri: item, cache: 'reload' }}
                    onLoadEnd={() => this.hideIndicatorAfterCarouselLoad(index)}
                    style={{ width: "100%", height: "100%", resizeMode: "stretch" }} />
            </View>
        );
    }

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:14
  • Comments:9

github_iconTop GitHub Comments

4reactions
Vidhiyakarcommented, Jul 28, 2021

Removing loop property worked. But I want the loop behaviour.

Anyone found a hack (or) a workaround to fix this issue.? I’m using v3.9.0 btw.

2reactions
bear1030commented, May 14, 2021

@15110011

Remove loop prop and try.

That fixed the issue for me.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Is Your Phone Display Flickering? Try These 7 Fixes
The first thing to do when trying to fix a glitching phone screen is to restart your phone to ensure that this isn't...
Read more >
IOS flicker bug when the css overflow:scroll is changed to ...
By changing overflow from scroll to hidden why that menu swipe is active works, but it causes the screen to flicker. Anyone know...
Read more >
How to fix Galaxy android phone screen flickering or flashing
Start by uninstalling the most recent app you downloaded before the problem started. Repeat until the flickering stops. You can always reinstall an...
Read more >
Fixed issues in InDesign - Adobe Support
Zooming in/out via Cmd+/- does not work when the cursor is above the page element in CPU mode. InDesign crashes while opening the...
Read more >
Release Notes for Office Current Channel (Preview)
Microsoft Teams features may differ from the latest Current Channel Preview ... We fixed an issue that resulted in text items being either...
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