Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Panels will not fill height of page #37

Open
benprofitt opened this issue Jan 20, 2020 · 1 comment
Open

Panels will not fill height of page #37

benprofitt opened this issue Jan 20, 2020 · 1 comment

Comments

@benprofitt
Copy link

I'm unable to get my "column" of two panels to fill the height of the page they're in. Any advice?

@nwheatle
Copy link

I also had trouble with managing the heights, but I'm using rows. I found that the heights of the panels are not synchronized, nor do they assume the height of the page, nor do they have height control attributes.

What I've managed to do was to get the panel divider's height - and then set that height to the panel div itself. I get the panel's div's parentNode (class panelWrapper) nextSibling (class 'divider') clientHeight. This is the height of the adjacent divider shown next to the panel area, which I use to assign to the div in my panel.

Now I'm having trouble keeping the different panels' heights synchronized, so I may resort to custom flexbox or something.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants