vue-awesome-swiper icon indicating copy to clipboard operation
vue-awesome-swiper copied to clipboard

slidesPerView: 'auto',Question

Open jonexyq opened this issue 7 years ago • 4 comments

中文用户注意:

  1. 尽量用英文描述你的 issue
  2. 不要把内容堆彻在标题上,逻辑清晰地写在内容区
  3. 贴代码要提前格式化好,有颜色高亮那种,贴文本,不要贴图片
  4. 提问题前,必须仔细阅读 REMADE.md + 在已关闭的问题中寻找与自身相关的问题,90% 的可能它已经被解决
  5. 如果无法做到提一个合格、优秀的问题,则问题会被 close + block

BUG REPORT TEMPLATE

Vue.js version and component version

component: v2.6.7

Reproduction Link

  • A minimal JSBin, JSFiddle, Codepen, or a GitHub repository that can reproduce the bug.
  • You could start with this template: https://jsfiddle.net/39epgLj0/

Steps to reproduce

``

What is Expected?

What is actually happening?

I used slidesPerView: 'auto', ,when it go to last slide ,the mousewheel isn't work,so that I can't see the footer.

jonexyq avatar Jul 02 '18 03:07 jonexyq

I should change the window size, it is normal;when i refresh it will not work

jonexyq avatar Jul 02 '18 03:07 jonexyq

i have the same question,,,when i resize the windows ,it works well. and i try to find the refresh event but failed...

CracKerMe avatar Jun 03 '19 00:06 CracKerMe

i resolved this problem with observer,,,the link is https://www.swiper.com.cn/api/observer/218.html

{ "observeParents": true, "observer": true }

and maybe you can close this issues

CracKerMe avatar Jun 04 '19 09:06 CracKerMe

"observeParents": true, "observer": true

Everytime I refreshed the page I would see a single swiper at full width on the screen, and it would only reset by changing the browser width. Adding the above solved the issue and I wouldn't have found it without this post.

This really saved me. Thank you!

titusdecali avatar Aug 19 '21 11:08 titusdecali