@@ -439,6 +439,9 @@ func (m *Chat) ToggleExpandedSelectedItem() {
439 if expandable, ok := m.list.SelectedItem().(chat.Expandable); ok {
439 if expandable, ok := m.list.SelectedItem().(chat.Expandable); ok {
440 expandable.ToggleExpanded()
440 expandable.ToggleExpanded()
441 m.list.ScrollToIndex(m.list.Selected())
441 m.list.ScrollToIndex(m.list.Selected())
442+ if m.list.AtBottom() {
443+ m.list.ScrollToBottom()
@@ -547,6 +550,9 @@ func (m *Chat) HandleDelayedClick(msg DelayedClickMsg) bool {
547 expandable.ToggleExpanded()
550 expandable.ToggleExpanded()
549 m.list.ScrollToIndex(m.list.Selected())
552 m.list.ScrollToIndex(m.list.Selected())
553+ if m.list.AtBottom() {
554+ m.list.ScrollToBottom()
550 return handled
556 return handled