google / google/material-design-lite

Header not expanding when page height is less than window height

Open
#4,889 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
HTML
Stars
32.2k
Forks
4.9k
PR merge metrics
No merged PRs in 30d

Description

> What MDL Version are you using? (please be specific, e.g. _major.minor.patch_)
> 1.2.1
>
> What browser(s) is this bug affecting (including version)?
> All browsers, mobile and desktop
>
> What OS (and version) are you using?
> All browsers
>
> What are the steps to reproduce the bug? Can you create a plunker/codepen/jsfiddle which reproduces it?

https://codepen.io/chadkrause308/pen/EgBRKd/?editors=0010#0
Change layout to split screen, as in side by side and not top and bottom

> What is the expected behavior?
> When you scroll up, the header gets bigger
>
> What is the actual behavior?
> When you scroll up, the header stays in the smaller size
>
> Any other information you believe would be useful?
> This happens if the page is not longer than the browser window when the header is collapsed. The header is supposed to expand when you scroll up, but it wont since the page isn't longer than the window. To fix this, you have to create a

set that is a height that makes the page larger than the window.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.