mirror of
https://github.com/danog/telegram-tt.git
synced 2024-12-11 16:49:44 +01:00
Profile: Fix flickering on iOS (#1245)
This commit is contained in:
parent
339c747784
commit
02dd2044e8
@ -112,8 +112,6 @@ const Main: FC<StateProps & DispatchProps> = ({
|
||||
useEffect(() => {
|
||||
// For animating Symbol Menu on mobile
|
||||
document.body.classList.toggle('is-middle-column-open', className.includes('middle-column-open'));
|
||||
// For animating components in portals (i.e. Notification)
|
||||
document.body.classList.toggle('is-right-column-shown', className.includes('right-column-open'));
|
||||
}, [className]);
|
||||
|
||||
// Add `body` classes when toggling right column
|
||||
|
@ -2,6 +2,8 @@
|
||||
height: 100%;
|
||||
overflow-y: scroll;
|
||||
overflow-x: hidden;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
||||
@supports (overflow-y: overlay) {
|
||||
overflow-y: overlay !important;
|
||||
|
Loading…
Reference in New Issue
Block a user