GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||
GeezerVison is showing github.com — fix(ios): keep ListView item views attached when UIKit removes their cell by NathanWalker · Pull Request #11637 · NativeScript/NativeScript Conversation
Contributor
PR Checklist
What is the current behavior?On iOS, UIKit takes cells out of the table on
Repro (iOS 26.5 simulator, release build,
Out of 6 runs of that flow:
What is the new behavior?
Verification with the same app and flow, with core patched (via patch-package) and nothing else changed:
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions…cell ListViewCell.willMoveToSuperview(nil) removed the item view from the ListView, and _prepareCell rebuilt it when the cell was reused. UIKit takes cells out of the table on reloadData (e.g. after an ObservableArray splice), and in release builds that rebuild fails: an unrecognized selector on DictionaryAdapter (CGColor / _resolvedMaterialWithTraitCollection:) followed by UITableView's nil-cell assertion, or a screen that stops redrawing. Item views now stay with their cell and are disposed with the ListView.
|
There was an error while loading. Please reload this page.
|
View your CI Pipeline Execution ↗ for commit 6747dd7
💡 Verify your cache is correct by running tasks in a sandbox. Read docs ↗ ☁️ Nx Cloud last updated this comment at |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
commit: |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.