-
Notifications
You must be signed in to change notification settings - Fork 235
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
Fx.Slide show() fixed height no resetHeight #1107
Comments
Looks like it does reset the height property: http://jsfiddle.net/K5JuM/2/ |
When you do a transition there is no problem. It's without the transition thats a problem for me: http://jsfiddle.net/2YW4v/3/ The wrapper now has a fixed height of 180px (in Chrome) |
ah, good point.. |
Probably these lines https://github.com/mootools/mootools-more/blob/d847456e5b/Source/Fx/Fx.Slide.js#L59-60 should go in a separate method, and that method should be called by the |
That would fix this issue I guess. But two things are unclear to me. Where is the onComplete event being triggered? And why shouldn't show() and hide() trigger this event? |
Mootools-More 1.4.0.1
When an item is shown via document.id('element').slide('show') the height is fixed. This is because the complete event isn't triggered so even if the resetHeight options is set to true, the height does not get changed to 'auto'.
Not certain if this is considered a bug, but it is still quite annoying.
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
The text was updated successfully, but these errors were encountered: