We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 22d092b commit a27d6e2Copy full SHA for a27d6e2
labs/multiverse/src/widgets/room_view/timeline.rs
@@ -102,11 +102,6 @@ impl Widget for &mut TimelineView<'_> {
102
let list = List::new(list_items).highlight_spacing(HighlightSpacing::Always);
103
104
let mut dummy_list_state = ListState::default();
105
- // Scroll down to the bottom, so we always see the latest message.
106
- //
107
- // TODO: We should probably use the offset here instead of just scrolling down
108
- // since this now selects the last item in the list.
109
- dummy_list_state.scroll_down_by(list.len() as u16);
110
111
StatefulWidget::render(list, area, buf, &mut dummy_list_state);
112
}
0 commit comments