diff --git a/crates/recent_projects/src/remote_servers.rs b/crates/recent_projects/src/remote_servers.rs index 860903d5d6f03a4564c931713d43c77e745db573..77553791f87f7515386c08eb41d821c359c2fad5 100644 --- a/crates/recent_projects/src/remote_servers.rs +++ b/crates/recent_projects/src/remote_servers.rs @@ -45,8 +45,8 @@ use std::{ use ui::{ CommonAnimationExt, IconButtonShape, KeyBinding, List, ListItem, ListSeparator, Modal, - ModalFooter, ModalHeader, Navigable, NavigableEntry, Section, Tooltip, WithScrollbar, - prelude::*, + ModalFooter, ModalHeader, Navigable, NavigableEntry, ScrollAxes, Scrollbars, Section, Tooltip, + WithScrollbar, prelude::*, }; use util::{ ResultExt, @@ -2827,7 +2827,12 @@ impl RemoteServerProjects { ) .size_full(), ) - .vertical_scrollbar_for(&state.scroll_handle, window, cx), + .custom_scrollbars( + Scrollbars::always_visible(ScrollAxes::Vertical) + .tracked_scroll_handle(&state.scroll_handle), + window, + cx, + ), ), ) .footer(ModalFooter::new().end_slot({