[Snackbar] Change the default position on desktop#21980
[Snackbar] Change the default position on desktop#21980oliviertassinari merged 6 commits intomui:nextfrom
Conversation
eps1lon
left a comment
There was a problem hiding this comment.
Tests should reflect this change since they're now failing.
oliviertassinari
left a comment
There was a problem hiding this comment.
Why are you deviating from the current tradeoff? Why using JavaScript when we can use the CSS media queries to change the position of the snackbar? Wouldn't we use CSS to better handle the initial paint?
I had a short-sighted mind. I went for JS simply because I use them when working on our project often (which should be fixed). changed like this for now (bb9c2d5) (i have to add like |
f8f49c2 to
1b2e2c9
Compare
|
@kodai3 What do you think of the proposed changes? |
|
Well done |
Breaking change
The notification now displays at the bottom left on large screens.
It better matches the behavior of Gmail, Google Keep, material.io, etc.
You can restore the previous behavior with:
I have followed (at least) the PR section of the contributing guide.
This is in the v5 breaking change scope
creating PR as i'm in favor of this proposal