Fixed
Status Update
Comments
wk...@google.com <wk...@google.com>
is...@google.com <is...@google.com>
aa...@google.com <aa...@google.com>
an...@google.com <an...@google.com> #2
Seems like it is caused by the subcompose(BottomSheetScaffoldLayoutSlot.Fab, fab)[0].measure(looseConstraints)
line in the bottom sheet. Seems like you have the floatingActionButton = {}
passed in your scaffold. setting it to null instead should solve the issue.
@jossi, could you take a look if we can handle this more gracefully and whether it makes sense?
an...@google.com <an...@google.com> #3
Your assessment is correct; changing the fab to null prevents the crash. Maybe still warrants an empty check on the Measurables in addition to the null check.
Description