Skip to main content

scroll_to_row

Function scroll_to_row 

Source
pub fn scroll_to_row(ident: &Ident, index: usize, cx: &mut App)
Expand description

Brings row index of the surface with this identity to the bottom edge.

Scroll position belongs to the surface, not to whoever draws over it, so a surface built on a list — a conversation that follows its newest message — moves it by naming the list rather than by owning a GPUI handle of its own.