revoltchat / revite

Revolt client built with Preact.
https://app.revolt.chat
GNU Affero General Public License v3.0
878 stars 210 forks source link

Visual issue when opening channels #299

Closed aeristhy closed 1 year ago

aeristhy commented 3 years ago

https://not-an-iplogger.com/SO79iSHU.gif

nikeedev commented 3 years ago

Framework's not so fast.

insertish commented 3 years ago

Note for quick fix: Apply zero opacity in useLayoutEffect, wait until first scroll event after which we can make it appear again.

Note for proper fix: Would need to hook into the loading mechanism to synchronously render and scroll, but that could hang the page.

insertish commented 1 year ago

Closing due to rewrite, marking as potential issue in future by linking to https://github.com/revoltchat/frontend/issues/134.