material-components-android: BottomSheetDialogFragment ShapeAppearance bug

I have discovered a strange behavior. If I set this snipped as a shapeAppearanceOverlay to the bottom sheet, I get a glitch. When I try to close the bottom sheet by dragging to the bottom I can see that rounded corners animate out for a moment and return back after that. I think it should be rounded all the way while I’m dragging the dialog and became square only in full height mode, shouldn’t it?

<style name="ShapeAppearanceOverlay.App.BottomSheet.Modal" parent="ShapeAppearanceOverlay.MaterialComponents.BottomSheet.Modal">
        <item name="cornerSizeTopLeft">@dimen/custom_corner_large</item>
        <item name="cornerSizeTopRight">@dimen/custom_corner_large</item>
    </style>

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Reactions: 17
  • Comments: 15 (6 by maintainers)

Most upvoted comments

Alpha09 is here but still no fix for that issue 😭

Having exactly the same issue 👍

Any update on this? Still encountering the issue

Same here. I’m using v1.2.0-alpha03 😭