customer-riverside/web/modules/custom/riverside_pt/js/components
Philip Peterson bccac386a7 Fix carousel: swipe snap, disabled state, pointer events, resize
- Snap clamps after rounding so it can't overshoot max on narrow viewports
- atEnd computed inline each render from live measureMax()
- forceUpdate on resize guarantees re-render even when left doesn't change
- Track gets explicit width (TOTAL_W) so gap areas are hit-testable
- Resize handler always calls setLeft (clamp or no-op) to keep state consistent

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-03 01:54:29 -07:00
..
rpt-carousel.js wip 2026-05-25 00:32:23 -07:00
rpt-faq.js functionality build out 2026-06-01 01:47:26 -07:00
rpt-testimonials.js Fix carousel: swipe snap, disabled state, pointer events, resize 2026-06-03 01:54:29 -07:00
rpt-toggle.js wip 2026-05-25 00:32:23 -07:00