-
Notifications
You must be signed in to change notification settings - Fork 98
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
animateInitialSelection
property brakes neon-animated-pages
with the new iron-selector 1.0.8
#112
Comments
Thanks for the detailed report. I will take a look. |
I get the same bug in my previous issue #83: http://jsbin.com/jahoni/edit?html,console,output if you leave out animate-initial-selection, the animation runs: |
Any ideas how to make it working? |
Try downgrading |
@MeinAccount yeah, it helps. Thanks! |
Fixes PolymerElements#112 by listening to the ‘iron-selected’ event instead of the ‘selected-changed’. This ensures that the initial event is fired after the pages are initialized, thus allowing the element to retrieve the initially selected page and animate it.
animateInitialSelection
property brakesneon-animated-pages
with the new iron-selector 1.0.8.Expected outcome
The first page is animated upon entry when the
animateInitialSelection
property is set totrue
on theneon-animated-pages
.Actual outcome
The
neon-animated-pages
crashes 💥 and stays blank, no page can be displayed anymore :Steps to reproduce
bower.json
("iron-selector": "PolymerElements/iron-selector#^1.0.8"
)bower install
animate-initial-selection
attribute to the declared<neon-animated-pages>
Full stacktrace
The text was updated successfully, but these errors were encountered: