I've run into this a few times, and I think it could be a quick fix in Park's styles. Floating UI components such as Popover and Menu have --available-height set by Floating UI's hook, but the styles don't use them currently (as far as I can see) to ensure the component doesn't overflow the viewport and cause scroll bars to appear.
I think it's as simple as setting maxHeight: var(--available-height) on the Positioner anatomy of the relevant components.
I've run into this a few times, and I think it could be a quick fix in Park's styles. Floating UI components such as Popover and Menu have
--available-height
set by Floating UI's hook, but the styles don't use them currently (as far as I can see) to ensure the component doesn't overflow the viewport and cause scroll bars to appear.I think it's as simple as setting
maxHeight: var(--available-height)
on the Positioner anatomy of the relevant components.If this makes sense, I can do a PR.