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.

Shimmer not working on iOS

See original GitHub issue

I am currently working with “react-native”: “0.61.3” and “react-native-shimmer”: “^0.6.0”.

I have a Shimmer with a nested flatlist inside. For android it works like a charm but for iOS it is not working. Sometimes you can see only a flicker once when it renders, then just no animation, change or opacity, nothing.

<Shimmer >
          <FlatList .../> //Deleted it for simplicity purposes 
</Shimmer>

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:7
  • Comments:8

github_iconTop GitHub Comments

1reaction
jindalankush28commented, Nov 4, 2020

now it stopped working on android as well 😂

1reaction
pragadeeshkcommented, Nov 4, 2020

@jindalankush28 hope this helps

export default Component = () => {
    const [loading, setLoading] = useState(false)

    useEffect(()=>{
        setTimeout(()=>{
            setLoading(true)
        }, 200)
    }, [])

    return (
        <ShimmerView loading={loading}>
                //View to shimmer
        </ShimmerView>
    )
}
Read more comments on GitHub >

github_iconTop Results From Across the Web

Shimmer Error Customview IOS does not work like Android
hello! I am having a problem on Xamarin IOS, I try to add the cordius attribute or change the available colors still cannot...
Read more >
Swift -Animation in GradientLayer not appearing in cell
The UIView is inside a cell and in the cell's layoutSubviews I add a gradientLayer with an animation that gives a shimmer effect...
Read more >
Shimmer Animations in iOS - Medium
As an iOS dev, you must have seen the Shimmer Effect every time you slide to unlock your device. This effect is being...
Read more >
Skeleton Loader Shimmer Effect (Swift/iOS) - YouTube
Hi everyone. In this episode we see how we can add a nice shimmer affect (aka Skeleton loader) to controls in our loading...
Read more >
Xcode 12, Swift 5, 2021 iOS Development - YouTube
In this video we will learn to add the shimmer animation into your swift app. ... We will be working in the latest...
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