Hi, I have a `FloatingActionButton` over a `LazyCo...
# compose
l
Hi, I have a
FloatingActionButton
over a
LazyColumnFor
and I’m trying to add bottom padding on the content of the column so the last element is not hidden by the FAB, like this:
Copy code
LazyColumnFor(
    items = itemList, 
    contentPadding = PaddingValues(bottom = 88.dp),
    ...
) { ... }
It works almost perfectly, but the items appear in the padding suddenly as they reach the column content frame. I would prefer them being drawn even if they are only visible in the padding. I guess I’m looking for an equivalent to
android:clipToPadding="false"
. Any tips?
a
It is a bug: https://issuetracker.google.com/issues/167913500. Plus there is a workaround described in the comment
l
Looks good! Thanks a lot! 👍