PolymerElements / paper-dialog-scrollable

A scrollable area used in a Material Design dialog
15 stars 18 forks source link

Remove .fit class when element is attached #44

Closed motss closed 8 years ago

motss commented 8 years ago

The .fit class is added to the this.scrollTarget on ready but on attached the parent implements paper-dialog-behavior so the .fit class should be removed.

Expected outcome

.fit class should be removed on attached phase which has been added to the this.scrollTarget on ready phase.

Actual outcome

.fit is not removed if the parent implements paper-dialog-behavior on attached phase. See image below for a basic console.log from paper-dialog-scrollable.

Simple log from the paper-dialog-scrollable