Profile: Fix flickering on iOS (#1245)

This commit is contained in:
Alexander Zinchuk 2021-07-07 15:37:53 +03:00
parent 339c747784
commit 02dd2044e8
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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;