Skip to content

Fix Glitchy Animation on Academic Partners Slider During Initial Load #6528 #6574

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

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

HIMU-2001
Copy link

Description

This PR fixes #6528

Notes for Reviewers

Signed commits

  • Yes, I signed my commits.

@github-actions github-actions bot added area/learn Related to /learn section area/handbook labels Jun 25, 2025
Signed-off-by: HIMANSHU RAI <himanshuuu.2001@gmail.com>
@HIMU-2001 HIMU-2001 force-pushed the glitchy-animation branch from 2d60fd4 to 7e3f945 Compare June 25, 2025 14:01
@l5io
Copy link
Contributor

l5io commented Jun 25, 2025

🚀 Preview for commit 7e3f945 at: https://685c0443dd0d0d0436d88d7e--layer5.netlify.app

Signed-off-by: HIMANSHU RAI <himanshuuu.2001@gmail.com>
@l5io
Copy link
Contributor

l5io commented Jun 25, 2025

🚀 Preview for commit dd2d1ff at: https://685c09528b128b34ec6c7515--layer5.netlify.app

Copy link
Contributor

@LibenHailu LibenHailu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @HIMU-2001 Thank you for your contribution but these are some of the things to improve to make this code merge able, the deployment link is not behaving as expected the slider is not there any more, can you check out afterChange api to track loading state it can help remove some of the abstractions here I think it uses react-slick, another improvement is the loading indicator can be improved.


Promise.all(imagePromises)
.then(() => setAllImagesLoaded(true))
.catch(() => setAllImagesLoaded(true)); // still render even if some fail
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why?

Signed-off-by: HIMANSHU RAI <himanshuuu.2001@gmail.com>
@l5io
Copy link
Contributor

l5io commented Jun 26, 2025

🚀 Preview for commit a42fa38 at: https://685d5dc8c651b32678948198--layer5.netlify.app

@HIMU-2001
Copy link
Author

Hi @LibenHailu ,

I am preloading all partner images before rendering the slider to avoid initial load glitches. This would resolve the visual jitter caused by lazy loading or layout shifts in react-slick.

I have also improved the loader ui.

Screen-Recording.mp4

babiLiben

This comment was marked as duplicate.

@LibenHailu
Copy link
Contributor

Hi @LibenHailu ,

I am preloading all partner images before rendering the slider to avoid initial load glitches. This would resolve the visual jitter caused by lazy loading or layout shifts in react-slick.

I have also improved the loader ui.
Screen-Recording.mp4

I see, The functionality is there, which is good.

@HIMU-2001 HIMU-2001 requested a review from babiLiben June 29, 2025 01:37
@HIMU-2001
Copy link
Author

Hi @LibenHailu @babiLiben ,

Is this mergeable or any modifications are required ?

@LibenHailu LibenHailu requested review from LibenHailu and removed request for babiLiben June 29, 2025 13:41
@LibenHailu
Copy link
Contributor

Hi @LibenHailu @babiLiben ,

Is this mergeable or any modifications are required ?

Hi @HIMU-2001 let's discuss this on the Monday site meeting.

@vr-varad
Copy link
Contributor

@HIMU-2001
Thank you for your contribution!
Let's discuss this during the website call today at 7 AM CT

Add it as an agenda item to the meeting minutes, if you would :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/handbook area/learn Related to /learn section
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Glitchy Animation on Academic Partners Slider During Initial Load
5 participants