mirror of
https://github.com/danog/telegram-tt.git
synced 2025-01-22 05:11:55 +01:00
Profile: Fix missing tabs after switching (#1082)
This commit is contained in:
parent
0cbb3203a7
commit
ce3b908464
@ -226,6 +226,7 @@ const Transition: FC<OwnProps & StateProps> = ({
|
||||
if (activeElement) {
|
||||
activeElement.style.height = 'auto';
|
||||
container.style.height = `${activeElement.clientHeight}px`;
|
||||
container.style.flexBasis = `${activeElement.clientHeight}px`;
|
||||
}
|
||||
}
|
||||
}, [shouldRestoreHeight, children]);
|
||||
|
Loading…
x
Reference in New Issue
Block a user