Smoother chat opening animation on iOS

This commit is contained in:
Alexander Zinchuk 2021-10-08 16:17:19 +03:00
parent ca1b8a2620
commit 325d168931

View File

@ -214,7 +214,11 @@ $color-user-8: #faa774;
// For some reason these parameters cause worse animation in desktop Chrome
@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);