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
When a snack bar is hidden and its show() method is called, it will be added to the target parent, and at this moment the parent view will set the layout params to the snack bar, with the same existing margins if any. Therefore if the margins are already updated with extra margins, the original margins will be incorrectly updated. This CL introduces a flag to tells this situation from other "real" scenarios in which clients want to update their custom margins.
Resolves#2666
PiperOrigin-RevId: 445159923
(cherry picked from commit 46fa8cc)
How to reproduce:
Snackbar
objectshow()
on this objectshow()
on this object againHere's how it can be reproduced in
DatePickerMainDemoFragment
:8174368891.mp4
Material Library version: 1.6.0-rc01
The text was updated successfully, but these errors were encountered: