这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@poppingmoon
Copy link
Owner

Changed to call scrollToTop twice when receiving a note from a stream.

The first call will be done 100 ms after the event, and the second call will be 100 ms after the first scroll is done.

This change makes timelines scroll to their exact top edge even though the size of notes changes over time while rendering emojis or images.

Changed to call `scrollToTop` twice when receiving a note from a stream.

The first call will be done 100 ms after the event, and the second call
will be 100 ms after the first scroll is done.

This change makes timelines scroll to their exact top edge even though
the size of notes changes over time while rendering emojis or images.
@poppingmoon poppingmoon force-pushed the timeline-scroll-to-top branch from fb8956f to 89e5815 Compare June 20, 2024 21:45
@poppingmoon poppingmoon merged commit 34ed08e into main Jun 20, 2024
@poppingmoon poppingmoon deleted the timeline-scroll-to-top branch June 20, 2024 22:23
This was referenced Jun 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants