Skip to content

fix(ios): lay out cell content after a css change in another row - #124

Closed
farfromrefug wants to merge 0 commit into
masterfrom
fix/ios-cell-layout-after-css-change
Closed

farfromrefug wants to merge 0 commit into
masterfrom
fix/ios-cell-layout-after-css-change

Conversation

@farfromrefug

@farfromrefug farfromrefug commented Nov 17, 2026 •

Copy link
Copy Markdown
Member

Summary

A layout request from cell content was dropped while any cell was being prepared: _preparingCell is collection-wide, so the rows a framework flush updates during that preparation never reached NSCellView.layoutSubviews and kept their old backgrounds (theme switches left stale rows).

The commit is the only one of this PR. An earlier version of this PR also had changes about invalid item sizes, the data source of a disposed collection view and a layout request in onLoaded: they were dropped, none was needed once the crash they were written for was fixed in NativeScript core (a Span with a FormattedString parent throwing in ViewBase.requestLayout, Akylas/NativeScript#19).

@farfromrefug
farfromrefug force-pushed the fix/ios-cell-layout-after-css-change branch from 82a33fc to f75a97f Compare November 18, 2026 09:06
@farfromrefug farfromrefug changed the title fix(ios): invalid item sizes after a rotation, data source of a disposed collection view fix(ios): lay out cell content after a css change in another row Nov 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant