From 601a2d3c4fcb1e6ad955a4885cf6265c792f8416 Mon Sep 17 00:00:00 2001 From: Vittorio Cellucci Date: Thu, 8 Sep 2022 16:27:38 -0400 Subject: [PATCH] fix: check for isDataView --- ios/ContainerView.swift | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ios/ContainerView.swift b/ios/ContainerView.swift index 875e09b0..68a98a98 100644 --- a/ios/ContainerView.swift +++ b/ios/ContainerView.swift @@ -294,6 +294,10 @@ class ContainerView: UIView { return } + if (isDataView) { + return + } + let y = totals.position == "bottom" ? self.frame.height - headerView.frame.height * 2 : headerView.frame.height let frame = CGRect(x: 0.0, y: y, width: headerView.frame.width, height: headerView.frame.height) let view = TotalsView(frame: frame, withTotals: totals, dataColumns: dataColumns, theme: tableTheme, cellStyle: cellStyle, columnWidths: self.columnWidths)