-
Notifications
You must be signed in to change notification settings - Fork 29
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
layout and behavior broken in flexbox environments #52
Comments
Could not reproduce, the events are correctly fired: here http://jsbin.com/mecaha/1/edit?html,console,output |
In your jsbin, the iron-flex-layout classes "layout, vertical" do not get applied to the container surrounding the iron-collapse. Here is a fixed version: http://jsbin.com/xudawucomo/1/edit?html,console,output |
@timove yes i confirm that transitionend doesn't get fired when iron-collapse is opened. |
@valdrinkoshi Unfortunately, in my use case this does not work. I cannot tell why, yet. I have nested iron-collapse elements which show really awkward behaviors without my proposed fixed. --- Do you see problems applying the fix? |
Oh, I forgot reopening the issue sorry! |
Fixed by #53 and released in |
Description
In certain flexbox environments
iron-collapse
fails to visually collapse itself and to reporttransitionend
events. Theflex
character suppresses theheight
changes visually.Expected outcome
Visually collapsing
iron-collapse
and firedtransitionend
events.Actual outcome
No animation visible, content remains visible, no
transitionend
events.Live Demo
Steps to reproduce
See failing test in timove@eec525b
Browsers Affected
Verified for, otherwise untested:
The text was updated successfully, but these errors were encountered: