question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

100% height issue

See original GitHub issue

I’m using your library in a Flex project and platform.css (now layout-flex) but it’s don’t works. I must remove hight :100% from splitArea e splitGutter. Without these, now it’s working

<div style="position: absolute;top:50px;bottom:0;right:0;left:0">
  <div layout="row" layout-fill>
    <div layout="column" layout-fill>
      <split [direction]="'horizontal'" [gutterSize]="8">
        <split-area [size]="25" [order]="1">
          <p>Test</p>
        </split-area>
        <split-area [size]="75" [order]="2">
          <split [direction]="'vertical'" [gutterSize]="8">
            <split-area [size]="50" [order]="1">
              <p>Top Content</p>
            </split-area>
            <split-area [size]="50" [order]="2">
              <p>Bottom Content</p>
              <p>Bottom Content</p>
              <p>Bottom Content</p>
              <p>Bottom Content</p>
              <p>Bottom Content</p>
              <p>Bottom Content</p>

              <p>Bottom Content</p>
              <p>Bottom Content</p>
            </split-area>
          </split>
        </split-area>
      </split>
    </div>
  </div>
</div>

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:1
  • Comments:11 (1 by maintainers)

github_iconTop GitHub Comments

9reactions
jopuckmancommented, Nov 15, 2018

As a workaround, you can set the gutter height to its initial height in your application’s css.

split-gutter { height: initial !important; }

EDIT: For version 1.0.3 (at least), you can use the following instead:

as-split-gutter { height: initial !important; }

2reactions
dpatel44725commented, Nov 13, 2018

Thank you @digitalcoyote 😃 for response, I got the idea.

In complex , applications the parent component needs to have height set explicitly. then if we give height in % that works fine.

Thanks you again @digitalcoyote.

And thank you @bertrandg for this awesome plugin. and updating it when i needed it mostly.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Why doesn't height: 100% work to expand divs to the screen ...
An issue with this approach is that iPhones excludes the address bar and bottom navigation from the view height, which means body {...
Read more >
100% height not working - CSS-Tricks
If you have a bunch of stuff in your document, like say this page, then the document/html/body height will be greater than the...
Read more >
CSS: Do not put height 100% on html, body in 2020
When some content or div need to be 100% height of the window some people may tell you to add height 100% to...
Read more >
css - height % does not work - OutSystems
Height % is based on it's parent (so you have to set every element above the target element to 100%) , there are...
Read more >
Div not filling all the body when height=100% - SitePoint
When the content isn't long it works correctly, however when I make it a little longer, the div turns out to be not...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found