recent_projects: Fix remote projects dialog not showing vertical scrollbar for overflow content (#54425)

Self-Review Checklist:

- [x] I've reviewed my own diff for quality, security, and reliability
- [x] Unsafe blocks (if any) have justifying comments
- [x] The content is consistent with the [UI/UX
checklist](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist)
- [x] Tests cover the new/changed behavior
- [x] Performance impact has been considered and is acceptable

Closes #54424

Release Notes:

- N/A

Co-authored-by: Danilo Leal <67129314+danilo-leal@users.noreply.github.com>
This commit is contained in:
galuis116andDanilo Leal authored and GitHub committed 2026-04-21 20:39:06 -03:00
1 parent 4d6311749a
commit 5df4e1eaa0
1 file changed
+8 -3
+8 -3
View File
@@ -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({