Follow-up to #1698. The Connection Info modal (clients/web/src/components/groups/ConnectionInfoModal/ConnectionInfoModal.tsx) has the same structure the settings modals had before #1698 — a custom header Group (title + close) inside a Stack in the modal body, with the default <Modal> and no scrollAreaComponent. So when the connection details are long enough to overflow the viewport, the whole modal scrolls and the header (title + close) scrolls out of view.
Expected
- The Connection Info header stays visible on scroll.
- Only the content area below it scrolls.
Scope
clients/web/src/components/groups/ConnectionInfoModal/ConnectionInfoModal.tsx
Fix
Apply the same change used for the settings modals in #1698 (PR #1753): switch from the default <Modal> to the compound Modal.Root / Modal.Overlay / Modal.Content / Modal.Header / Modal.Body API, move the header row into Modal.Header, and set scrollAreaComponent={ScrollArea.Autosize}. The fade-down transition is already supplied app-wide by ThemeModalRoot (added in #1753), so no transitionProps literal is needed.
Follow-up to #1698. The Connection Info modal (
clients/web/src/components/groups/ConnectionInfoModal/ConnectionInfoModal.tsx) has the same structure the settings modals had before #1698 — a custom headerGroup(title + close) inside aStackin the modal body, with the default<Modal>and noscrollAreaComponent. So when the connection details are long enough to overflow the viewport, the whole modal scrolls and the header (title + close) scrolls out of view.Expected
Scope
clients/web/src/components/groups/ConnectionInfoModal/ConnectionInfoModal.tsxFix
Apply the same change used for the settings modals in #1698 (PR #1753): switch from the default
<Modal>to the compoundModal.Root/Modal.Overlay/Modal.Content/Modal.Header/Modal.BodyAPI, move the header row intoModal.Header, and setscrollAreaComponent={ScrollArea.Autosize}. The fade-down transition is already supplied app-wide byThemeModalRoot(added in #1753), so notransitionPropsliteral is needed.