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

[Bug Report] Swiper component's height cannot be set as 'auto'. #2731

Open
tinymins opened this issue May 7, 2018 · 1 comment
Open

[Bug Report] Swiper component's height cannot be set as 'auto'. #2731

tinymins opened this issue May 7, 2018 · 1 comment

Comments

@tinymins
Copy link

tinymins commented May 7, 2018

VUX version

2.9.1-rc.1

OS/Browsers version

OS X / Chrome

Vue version

2.5.17-beta.0

Code

<div style="{ height: '100%', display: 'flex' }">
  <swiper height="auto" style="{ flex: '1 1 auto' }"></swiper>
</div>

Steps to reproduce

Just run the code sample, the swiper cannot auto generate its height, instead, its height will always be '180px'.

What is Expected?

The swiper should auto fit its parent's height.

What is actually happening?

The swiper's height is set to '180px' somehow, that's not right.

@EarlEcho
Copy link

Hey~ Has this problem been solved?

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