force component to redraw
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
parent
31f01773c4
commit
ad6291af30
@ -520,6 +520,7 @@ extension Carousel: UICollectionViewDelegate, UICollectionViewDataSource, UIColl
|
|||||||
let component = views[indexPath.row]
|
let component = views[indexPath.row]
|
||||||
cell.update(with: component, slotAlignment: slotAlignment, surface: surface)
|
cell.update(with: component, slotAlignment: slotAlignment, surface: surface)
|
||||||
cell.layoutIfNeeded()
|
cell.layoutIfNeeded()
|
||||||
|
component.setNeedsLayout()
|
||||||
if hasDebugBorder {
|
if hasDebugBorder {
|
||||||
cell.addDebugBorder()
|
cell.addDebugBorder()
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user