Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When shimmer container width is very long it takes about 10 seconds for component to mount #75

Open
maidul98 opened this issue Mar 26, 2022 · 0 comments

Comments

@maidul98
Copy link

We have a track bar for playing audio much like this: https://help.apple.com/assets/61B370B8020DEA0A024710E6/61B370BA020DEA0A02471109/en_US/1b6dbda86aadb5ccfce6a15001317c1b.png

While the track was loading the waveform we wanted the whole track to shimmer. However because the track length is very long ( 5000px), loading the component seems to take very long. Why does the width of the shimmer container affect how long the component takes to be mounted? And is there a way to get around it? Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant