Fix: Remove jittery timeline scrolling after jumping to an event (#8263)
* Fix: Remove jittery timeline scrolling after jumping to an event * Fix: Remove onUserScroll handler and merge it with onScroll * Fix: Reset scrollIntoView state earlier Co-authored-by: Janne Mareike Koschinski <jannemk@element.io>
This commit is contained in:
parent
285dc25b3e
commit
579a166113
11 changed files with 118 additions and 87 deletions
|
@ -32,6 +32,7 @@ export interface ViewRoomPayload extends Pick<ActionPayload, "action"> {
|
|||
|
||||
event_id?: string; // the event to ensure is in view if any
|
||||
highlighted?: boolean; // whether to highlight `event_id`
|
||||
scroll_into_view?: boolean; // whether to scroll `event_id` into view
|
||||
should_peek?: boolean; // whether we should peek the room if we are not yet joined
|
||||
joining?: boolean; // whether we have already sent a join request for this room
|
||||
via_servers?: string[]; // the list of servers to join via if no room_alias is provided
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue