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
Description: Modal SideSheet's SideSheetCallback's onSlide() is not called (modal BottomSheet's BottomSheetCallback's onSlide() is not called, too). After the modal SideSheet is dragged once, onSlide() will be called.
Thanks for reporting! This is actually a catalog bug, not a modal side sheet bug. What's happening is that the slide offset text view (and the state text view, if you look carefully) are not updated until the first drag, because up until that point, only the dialog window animations have run, and the values are only initialized in the callback. I have a internal change out to fix this issue in the catalog.
Description: Modal SideSheet's SideSheetCallback's onSlide() is not called (modal BottomSheet's BottomSheetCallback's onSlide() is not called, too). After the modal SideSheet is dragged once, onSlide() will be called.
Expected behavior: onSlide() is called.
Source code: https://github.com/material-components/material-components-android/tree/master/catalog/java/io/material/catalog/sidesheet/SideSheetMainDemoFragment.java#L278-L282
https://github.com/material-components/material-components-android/blob/master/catalog/java/io/material/catalog/sidesheet/SideSheetMainDemoFragment.java#L114-L119
Minimal sample app repro: Catalog app
Android API version: 33
Material Library version: 1.8.0-beta01
Device: Emulator 31.3.14
The text was updated successfully, but these errors were encountered: