Space Switching: Bottom Sheet Doesn't Always Measure Properly #6750
Labels
O-Frequent
Affects or can be seen by most users regularly or impacts most users' first experience
S-Minor
Impairs non-critical functionality or suitable workarounds exist
T-Defect
Something isn't working: bugs, crashes, hangs and other reported problems
Team: Delight
Z-AppLayout
Following the work from #6749
There are times where you open the bottom sheet but it fails to load with the proper size and the result is a small sheet that doesn't fit the spaces that occupy the list.
This seems to be a race condition between how long it takes for the sheet to measure and the epoxy controller to inflate the list. A possible cause is because
setState
is initially called in the view model without any spaces before it is called again later with the spaces that inflate the list, which would tell the controller to initially update without any spaces.Parent epic: #6605
Steps to reproduce
Just keep opening the space sheet and switching betweens spaces until it occurs
The frequency of it can be pretty random, and it's a bit intermittent but common enough to be noticeable
The text was updated successfully, but these errors were encountered: