You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Catalog][BottomAppBar][BottomSheet][NavigationDrawer][SearchView][SideSheet][Predictive Back] state mismatch between bottom sheet and back callback after restarting activity
#3575
Similar things are happening in other demos (BottomSheetMainDemoFragment, NavigationDrawerDemoActivity, CustomNavigationDrawerDemoActivity, SearchMainDemoActivity, SearchRecyclerDemoActivity, and SideSheetMainDemoFragment) as well.
manabu-nakamura
changed the title
[Catalog][BottomAppBar][BottomSheet][Predictive Back] state mismatch between bottom sheet and back callback after restarting activity
[Catalog][BottomAppBar][BottomSheet][NavigationDrawer][SideSheet][Predictive Back] state mismatch between bottom sheet and back callback after restarting activity
Sep 18, 2023
manabu-nakamura
changed the title
[Catalog][BottomAppBar][BottomSheet][NavigationDrawer][SideSheet][Predictive Back] state mismatch between bottom sheet and back callback after restarting activity
[Catalog][BottomAppBar][BottomSheet][NavigationDrawer][SearchView][SideSheet][Predictive Back] state mismatch between bottom sheet and back callback after restarting activity
Sep 19, 2023
…ng to be more accurate in demos
Fixes inaccurate state label text and back callback enabled flag after rotation
Resolves#3575
PiperOrigin-RevId: 566433974
…ndling to be more accurate in demos
Fixes inaccurate state label text and back callback enabled flag after rotation
Resolves#3573Resolves#3575Resolves#3577Resolves#3574Resolves#3576Resolves#3578
PiperOrigin-RevId: 566286622
(cherry picked from commit f9102c7)
…ng to be more accurate in demos
Fixes inaccurate state label text and back callback enabled flag after rotation
Resolves#3575
PiperOrigin-RevId: 566433974
(cherry picked from commit 357cf2d)
Description: The expanded bottom sheet is still expanded after restarting the activity (e.g. after rotating the device). But, the back callback is disabled and the bottom sheet will not detach from the left and right edges of the screen.
https://m3.material.io/components/bottom-sheets/guidelines#3d7735e2-73ea-4f3e-bd42-e70161fc1085
Similar things are happening in other demos (BottomSheetMainDemoFragment, NavigationDrawerDemoActivity, CustomNavigationDrawerDemoActivity, SearchMainDemoActivity, SearchRecyclerDemoActivity, and SideSheetMainDemoFragment) as well.
(before restarting activity)
(after restarting activity)
Expected behavior: The expanded bottom sheet is hidden or the back callback is enabled after restarting the activity (e.g. after rotating the device).
Minimal sample app repro: Catalog app
Android API version: 34
Material Library version: 1.11.0-alpha02
Device: Emulator 32.1.15 (API 34)
The text was updated successfully, but these errors were encountered: