PolymerElements / app-layout

App layout elements
https://webcomponents.org/element/PolymerElements/app-layout
597 stars 311 forks source link

app-header-layout main and overflow #551

Open PPCM opened 6 years ago

PPCM commented 6 years ago

Description

As a developper, I would to force displaying of the scrollbar y for the the main content. In fact, I would to set overflow-y: scroll

Actual outcome

Actually, the overflow value can be changed (or I don't know how) Here is an extract of the generated HTML

:host([has-scrolling-region]) #wrapper #contentContainer {
  position: var(--layout-fit_-_position); top: var(--layout-fit_-_top); right: var(--layout-fit_-_right); bottom: var(--layout-fit_-_bottom); left: var(--layout-fit_-_left);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
}

}

Need

How the change the value of overflow? Perhaps a new Mixin?

Browsers Affected