Skip to content

Instantly share code, notes, and snippets.

@Garbee
Created July 26, 2017 17:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Garbee/ff3e00892401dbc026c7a5bc6f0a9a13 to your computer and use it in GitHub Desktop.
Save Garbee/ff3e00892401dbc026c7a5bc6f0a9a13 to your computer and use it in GitHub Desktop.
<!-- Debugger is `height: 100%` making the full container only have the height of the viewport, not fitting the content. -->
<Debugger>
<MainWrapper>
<Splitter>
<Panel1></Panel1>
<Panel2></Panel2>
<!--
Trickle down here, you're having the height fixed so we have overflow that needs scrolling.
This gets handled automatically, but the wrappers height is still fixed at "100%" of the viewport size.
-->
<Panel3>
<Wrapper>
<!-- When this hits that 100% height bottom, it becomes fixed to the bottom of that container an stops scrolling. -->
<CommandBar></CommandBar>
<!-- This will keep on going until it actually ends. -->
<ScrollingContent></ScrollingContent>
</Wrapper>
</Panel3>
</Splitter>
</MainWrapper>
</Debugger>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment