spalt08/telegram-js

Investigate the messages scroll performance drop

Finesse opened this issue · 2 comments

Commit 8f7f1d4 (PR #52) had reduced the message list scroll performance (I can see it clearly in Safari).

Before telegram-cloud-photo-size-2-5460738179276581843-y
After tg_image_2473067160

The drop got even more severe when I moved the browser window from a regular to a retina monitor

I've found a few ways to increase the performance in Safari:

  1. Remove the overflow: hidden; style from .bubble__content (high impact, almost as performant as it was before the commit)
  2. Add border-radius: 0 !important; to .bubble .bubble__background, .bubble .bubble__content (medium impact)