force component to redraw

Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
Matt Bruce 2024-08-27 11:56:19 -05:00
parent 31f01773c4
commit ad6291af30

View File

@ -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 {