Smoother chat opening animation on iOS
This commit is contained in:
parent
ca1b8a2620
commit
325d168931
@ -214,7 +214,11 @@ $color-user-8: #faa774;
|
|||||||
|
|
||||||
// For some reason these parameters cause worse animation in desktop Chrome
|
// For some reason these parameters cause worse animation in desktop Chrome
|
||||||
@media (max-width: 600px) {
|
@media (max-width: 600px) {
|
||||||
--layer-transition: 450ms cubic-bezier(0.25, 1, 0.5, 1);
|
--layer-transition: 450ms cubic-bezier(0.33, 1, 0.68, 1);
|
||||||
|
|
||||||
|
body.is-android {
|
||||||
|
--layer-transition: 450ms cubic-bezier(0.25, 1, 0.5, 1);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
--slide-transition: 300ms cubic-bezier(0.25, 1, 0.5, 1);
|
--slide-transition: 300ms cubic-bezier(0.25, 1, 0.5, 1);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user