PolymerElements / paper-drawer-panel

A Material Design two-section responsive panel
https://www.webcomponents.org/element/PolymerElements/paper-drawer-panel
25 stars 42 forks source link

Disabling transitions for paper-drawer-panel #127

Open jermainkaminski opened 8 years ago

jermainkaminski commented 8 years ago

Dear Polymer friends,

while developing a Polymer-based Jekyll template, I realized that run into issues deactivating the default body transition for

, nested in .

The default CSS is

.transition.paper-drawer-panel > #main.paper-drawer-panel {
    transition: left ease-in-out 0.3s, padding ease-in-out 0.3s;
}

Unfortunately, a custom/shared stylesheet with

:root {
  --paper-drawer-panel-main-container: {
    transition: none!important;
  };

(and similar approaches) doesn't solve it. Any idea?