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
It appears that panels are missing a way for their views to fill the space available.
Even though they use CSS grids, views are wrapped in this div.tabpanel hidden in the shadow-root that causes PanelViews to vertically fit their content.
Expected behavior
It would be great to have a way to make the following layout:
Alternatively, maybe support for grid properties such as align-self would be nice.
For example the div.tabpanel could be a grid too.
Current behavior
Currently, the code given above ends-up with the following layout:
And as far as I know, there are no easy way to change this.
I managed to find some tricks in React, by obtaining the HTML Element (using useRef) ; followed by editing the shadow-root by hand.
But that is fairly hacky and probably undesired.
Use case
I want the content of a PanelView to be scrollable.
But without having the PanelView fill the available space, scrolling instead causes the PanelTabs to go out of view.
The text was updated successfully, but these errors were encountered:
Feature request
It appears that panels are missing a way for their views to fill the space available.
Even though they use CSS grids, views are wrapped in this
div.tabpanel
hidden in the shadow-root that causes PanelViews to vertically fit their content.Expected behavior
It would be great to have a way to make the following layout:
Where the (React) code would be:
Alternatively, maybe support for grid properties such as
align-self
would be nice.For example the
div.tabpanel
could be a grid too.Current behavior
Currently, the code given above ends-up with the following layout:
And as far as I know, there are no easy way to change this.
I managed to find some tricks in React, by obtaining the HTML Element (using
useRef
) ; followed by editing the shadow-root by hand.But that is fairly hacky and probably undesired.
Use case
I want the content of a PanelView to be scrollable.
But without having the PanelView fill the available space, scrolling instead causes the PanelTabs to go out of view.
The text was updated successfully, but these errors were encountered: