material-components-android icon indicating copy to clipboard operation
material-components-android copied to clipboard

[BottomSheetBehavior] specially treat child's top margin

Open emakar opened this issue 4 years ago • 2 comments

I needed BottomSheetBehavior to work with top margin being set to its view. Currently this is buggy and gives various card jumps. I also need this behavior with fitToContents = true

emakar avatar Feb 23 '21 13:02 emakar

I've done more testing and left only special top margin treatment

This is ready for review

emakar avatar Feb 23 '21 15:02 emakar

Any update on this one? It looks like it might also fix the issue with that standard marginTopSystemWindowInsets=true attribute. See https://github.com/material-components/material-components-android/issues/3380

Lingviston avatar May 06 '23 23:05 Lingviston