mirror of
https://github.com/danog/telegram-tt.git
synced 2024-11-27 04:45:08 +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() {
|
||||
if (activeIndex !== currentIndexRef.current) return;
|
||||
|
||||
requestAnimationFrame(() => {
|
||||
if (activeIndex !== currentIndexRef.current) return;
|
||||
|
||||
container.classList.remove('animating', 'backwards');
|
||||
|
||||
childNodes.forEach((node, i) => {
|
||||
|
Loading…
Reference in New Issue
Block a user