Popover max height #3949
-
Hey Paste team, Is there guidance for what an appropriate max height is for the Popover component? I'm designing a view where users click a column to see more info in a popover (figma), but I'm unsure what max height to set to enable scrolling, as the content inside the popover is dynamic based on user setups and can get quite lengthy. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hey @char-mainewang we are still discussing this internally. Popovers are meant for supplemental or contextual content. If the amount of information exceeds the window size, it's better to consider alternative ways to display it. Could you share more details about how you are using it. From the figma I see a table with entities that may grow. Have you explored the possibility of other components such as SideModal and SidePanel which overflow naturally and match viewport height? |
Beta Was this translation helpful? Give feedback.
Ya, for added context, the "Latest Sync" column in this table summarizes the statuses of various entities used by a data consumer. Each entity has its own sync status, and this column displays an aggregated status. When you click on the arrow, you can see the individual statuses for each entity being used. The list can expand based on the number of entities the data consumer uses.
We haven't explored the side panel or side modal yet, but i think the side modal might be a good fit for this use case! It looks like side panel allows users to interact with the background content, which could make the relationship between what you clicked and what you see in the side panel less clear, especial…