PolymerElements / paper-dropdown-menu

A Material Design browser select element
https://www.webcomponents.org/element/PolymerElements/paper-dropdown-menu
61 stars 107 forks source link

Window scroll bar disappearing. #130

Open ermish opened 8 years ago

ermish commented 8 years ago

When opening a dropdown, the window scrollbar is disappearing.

The paper-dropdown-menu demo shows the issue.

This issue was carried over from the previous version's repository (67).

jannakha commented 8 years ago

+1

it should have an option to allow outside scroll or not. Currently it does not allow outside scroll and sets body's style to overflow=hidden

This behaviour is different from Polymer v0.5

It's a major issue and should be fixed ASAP

NicolasRannou commented 8 years ago

+1

valdrinkoshi commented 8 years ago

About the scrollbar disappearing, this is caused by iron-dropdown, and we already have an issue to track that: https://github.com/PolymerElements/iron-dropdown/issues/54

iron-dropdown has a property allow-outside-scroll available, so it would be a matter of exposing it on paper-menu-button and paper-dropdown-menu (addressed by PR https://github.com/PolymerElements/paper-dropdown-menu/pull/70)

valdrinkoshi commented 8 years ago

Closing as #70 has been merged Will close after it gets released.