From ad6291af30122316d42cc54f0d06d3cf45316fda Mon Sep 17 00:00:00 2001 From: Matt Bruce Date: Tue, 27 Aug 2024 11:56:19 -0500 Subject: [PATCH] force component to redraw Signed-off-by: Matt Bruce --- VDS/Components/Carousel/Carousel.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/VDS/Components/Carousel/Carousel.swift b/VDS/Components/Carousel/Carousel.swift index a2dd4d7d..b344ad9a 100644 --- a/VDS/Components/Carousel/Carousel.swift +++ b/VDS/Components/Carousel/Carousel.swift @@ -520,6 +520,7 @@ extension Carousel: UICollectionViewDelegate, UICollectionViewDataSource, UIColl let component = views[indexPath.row] cell.update(with: component, slotAlignment: slotAlignment, surface: surface) cell.layoutIfNeeded() + component.setNeedsLayout() if hasDebugBorder { cell.addDebugBorder() } else {