diff --git a/crates/ui/src/scroll/scrollbar.rs b/crates/ui/src/scroll/scrollbar.rs index 75087246..b2d58c28 100644 --- a/crates/ui/src/scroll/scrollbar.rs +++ b/crates/ui/src/scroll/scrollbar.rs @@ -632,7 +632,7 @@ impl Element for Scrollbar { cx: &mut App, ) { let hitbox_bounds = prepaint.hitbox.bounds; - let is_visible = self.state.get().is_scrollbar_visible(); + let is_visible = self.state.get().is_scrollbar_visible() || cx.theme().scrollbar_show.is_always(); let is_hover_to_show = cx.theme().scrollbar_show.is_hover(); // Update last_scroll_time when offset is changed.