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

Height bug in collapse animation #18

Open
maritaria opened this issue Nov 13, 2018 · 1 comment
Open

Height bug in collapse animation #18

maritaria opened this issue Nov 13, 2018 · 1 comment

Comments

@maritaria
Copy link

The collapse animation does not support pre-determining the height of the wrapped elements. If the height of the wrapped elements is not determined and coded into the applied styles, then you are transitioning to/from height:auto; which doesn't work well because it is not supported to transition to/from this value by the css standard.

https://css-tricks.com/using-css-transitions-auto-dimensions/

@chanlito
Copy link

chanlito commented Jan 18, 2019

Facing this issue as well. @maritaria did u find a workaround?

EDIT:

this.$refs.collapse.$el.style.height = 'auto';

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

No branches or pull requests

2 participants