You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: