Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
recent_projects: Fix remote projects dialog not showing vertical scrollbar for overflow content (#54425)
galuis1165df4e1eaa05c
diff --git a/crates/recent_projects/src/remote_servers.rs b/crates/recent_projects/src/remote_servers.rsindex 860903d5d6f..77553791f87 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({