Commit 904d063
committed
Update Snackbar gesture inset calculation to factor in translationY
Fixes issue of compounding margins for legacy Snackbar which uses a slide animation that affects it's position on the screen
Resolves #741
PiperOrigin-RevId: 285246645
(cherry picked from commit 86b2ec3)1 parent a718fd1 commit 904d063
File tree
1 file changed
+4
-1
lines changed- lib/java/com/google/android/material/snackbar
1 file changed
+4
-1
lines changedLines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
263 | 263 | | |
264 | 264 | | |
265 | 265 | | |
266 | | - | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
267 | 270 | | |
268 | 271 | | |
269 | 272 | | |
| |||
0 commit comments