Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request - narrow & paper-narrow-change // responsive & paper-responsive-change #152

Open
bwh-rl opened this issue Sep 29, 2016 · 0 comments

Comments

@bwh-rl
Copy link

bwh-rl commented Sep 29, 2016

Description

In the current element you can only tell if the panel is narrow or not, depending on the force-narrow property this does not tell you reliable if the responsive-with is applied or not.
Also the naming of the paper-responsive-change event let you assume that it is always fired at responsive change, but it is also influenced by force-narrow, so it is more a paper-narrow-change.

If you want to listen to every responsive change at the moment, you have to bring your own iron-media-query which is identical to the iron-media-query inside the paper-drawer-panel.

Expected outcome

My suggestion would be that the paper-responsive-change gets renamed to paper-narrow-change and a new property named responsive gets implemented, that tells you if the responsive-with is applied or not, independent from the force-narrow, and the paper-responsive-change gets tied to this property instead of the narrow property.

Actual outcome

Live Demo

Steps to reproduce

Browsers Affected

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants