Description:BottomSheetDialogFragment does not apply any top insets after a configuration change when the bottom sheet is expanded and laid out edge to edge. This causes content to be drawn behind the status bar. The top insets get applied only when the user starts scrolling the BottomSheet content.
Expected behavior: After a configuration change, the top insets for a BottomSheetDialogFragment should be applied directly.
Description:
BottomSheetDialogFragment
does not apply any top insets after a configuration change when the bottom sheet is expanded and laid out edge to edge. This causes content to be drawn behind the status bar. The top insets get applied only when the user starts scrolling the BottomSheet content.Expected behavior: After a configuration change, the top insets for a
BottomSheetDialogFragment
should be applied directly.Source code:
https://github.com/Pittvandewitt/bottomsheetdialogfragment-bug-report
Android API version: Tested on API 28 and up
Material Library version: 1.4.0 and up
Device: Device independent