diff --git a/src/views/text_view.rs b/src/views/text_view.rs index bab2b74..2ec0290 100644 --- a/src/views/text_view.rs +++ b/src/views/text_view.rs @@ -126,6 +126,7 @@ impl TextView { /// manually. pub fn set_scroll_strategy(&mut self, strategy: ScrollStrategy) { self.scroll_strategy = strategy; + self.adjust_scroll(); } /// Defines the way scrolling is adjusted on content or size change.