Infinite Loop in Testimonials Section #38
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Description
Issue:
The Testimonials section (displaying student success stories with KodePilot branding and placement information) enters an infinite loop when rendering or cycling through testimonial content. This causes the browser to become unresponsive and may lead to page crashes.
Visual Context
The section displays:
Left panel: Blue branded card with "KodePilot", tagline "Helping the world with career success", and "100% Placement Success"
Center/Right panels: Student testimonials with quotes, names, and companies (e.g., John Doe from AWS)
Multiple testimonial cards visible simultaneously
Expected Behavior
Testimonials should cycle through smoothly with a defined interval
Animation should loop continuously without performance degradation
Smooth transitions between different student testimonials
Users should be able to interact with controls (pause, next, previous) if present
Browser should remain responsive throughout
Static brand card should remain fixed while testimonials scroll
Actual Behavior
Testimonials enter an infinite loop causing excessive re-renders
Browser performance degrades significantly
Page becomes unresponsive or crashes
High CPU and memory usage observed
User interaction becomes impossible
Testimonial cards may flicker or render continuously
Scrolling animation never completes properly
Reproduction Steps
Navigate to the homepage where testimonials are displayed
Locate the "KodePilot" testimonials section with:
Blue branded card on the left
Student testimonials scrolling horizontally
Observe the testimonials carousel behavior
Notice the following symptoms:
Rapid flickering or constant re-rendering of testimonial cards
Browser tab showing high CPU usage
Delayed or frozen user interactions
Testimonials not smoothly transitioning
Animation restarting before completing
Console errors indicating infinite re-renders
Attempt to scroll or interact with other page elements
Observe browser becoming progressively slower
Reproducibility: Consistent (100%)
Time to Reproduce: Immediately upon page load or within 5-10 seconds
The issue is fixed