mirror of
https://github.com/danog/telegram-tt.git
synced 2024-11-27 12:55:11 +01:00
Message List: Fix dissappearing UI in Safari (#1395)
This commit is contained in:
parent
b485a247dc
commit
ec590b5118
@ -146,9 +146,9 @@ const Transition: FC<OwnProps> = ({
|
|||||||
}
|
}
|
||||||
|
|
||||||
function onAnimationEnd() {
|
function onAnimationEnd() {
|
||||||
if (activeIndex !== currentIndexRef.current) return;
|
|
||||||
|
|
||||||
requestAnimationFrame(() => {
|
requestAnimationFrame(() => {
|
||||||
|
if (activeIndex !== currentIndexRef.current) return;
|
||||||
|
|
||||||
container.classList.remove('animating', 'backwards');
|
container.classList.remove('animating', 'backwards');
|
||||||
|
|
||||||
childNodes.forEach((node, i) => {
|
childNodes.forEach((node, i) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user