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

make sure #slideshowViewport is properly aligned #62

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

christophe-g
Copy link

When a stepper is not visible on its first render (e.g. rendered in an inactive paper-tab), the top position of #slideshowViewport is 0. The content of the slideshow hence overlap with stepper labels.

This PR makes sure we recalculate slideshowViewport' top position on resize.

@vic10us
Copy link

vic10us commented Sep 22, 2017

I can confirm that this is a real issue. When using iron-pages or any similar component/behavior and it's not the first page to render it mis-aligns the viewport. I got around the problem by toggling the vertical property to trigger the change event. While this works, it introduces an issue with the responsiveWidth not triggering the change.

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

Successfully merging this pull request may close these issues.

2 participants