Description:
Currently, when bottomsheet is in an expanded state and its content is wrapped (fitToContents) then the corners are animated to 0dp. This leads to quite unwanted behavior.
Screenshots attached from catalog app. (large shape corner size in settings required):
Screenshot:

Expected behavior:
Screenshot:

Source code: The catalog app.
Android API version: API 29
Material Library version: 1.1.0-alpha08
Device: Pixel 2
Also pull-requested #437
Yes, I believe it should not animate corners if fit contents = true but do that if we have fit contents = false only.
Design wants this to continue to work as is.
Please see context from the PR here: https://github.com/material-components/material-components-android/pull/437#issuecomment-536668983