From 5591a962fc5e1927fe34585726b9d5cb529aa93c Mon Sep 17 00:00:00 2001 From: Vittorio Cellucci Date: Thu, 4 Aug 2022 12:52:46 -0400 Subject: [PATCH] fix: call .setNeedsDisplay when view is recycled --- ios/DataCellView.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/ios/DataCellView.swift b/ios/DataCellView.swift index c3e9d7db..aa283125 100644 --- a/ios/DataCellView.swift +++ b/ios/DataCellView.swift @@ -39,6 +39,7 @@ class DataCellView: UICollectionViewCell { if let miniChart = views[index] as? MiniChartView { miniChart.frame = newFrame.integral miniChart.setChartData(data: element, representedAs: representation) + miniChart.setNeedsDisplay() } } else {