This repository has been archived by the owner on May 1, 2024. It is now read-only.
Headless Layouts are causing crashing and graphics glitches in Cells #4168
Labels
a/layout
e/6 🕕
6
help wanted
We welcome community contributions to any issue, but these might be a good place to start!
i/high
Completely doesn't work, crashes, or is unusably slow, has no obvious workaround; occurs less often
p/Android
up-for-grabs
We welcome community contributions to any issue, but these might be a good place to start!
Description
When I use a headless layout inside of a cell, it would cause a graphical glitch where the data that was previously in the cell would show up under or on top of the new data in the cell. This became a jumbled mess.
When I used more labels and an FFImageLoading CachedImage, it would just crash the app with the below exception.
I should probably test this in iOS as well.
Removing the CompressedLayout.IsHeadless="True" fixes both problems.
Steps to Reproduce
Expected Behavior
For the application not to crash and display bound data in the cell.
Actual Behavior
When using ffimageloading cached images and formatted string, the application crashes with this exception:
When using just a basic label by itself, the previous use label used in that cell would appear over the new data in the label. It became a jumbled messed.
Basic Information
Screenshots
https://1drv.ms/u/s!AgoxySKwbTmmpq1aJioVGraINndXNA
Reproduction Link
https://gist.github.com/seansparkman/560624cba6608eaa25831e59fcee7c71
The text was updated successfully, but these errors were encountered: