Skip to content
This repository has been archived by the owner on Jul 15, 2023. It is now read-only.

Swiper does not re-render when the swiperOptions state change on IOS app #827

Open
jasonwkf opened this issue Dec 7, 2021 · 0 comments
Open

Comments

@jasonwkf
Copy link

jasonwkf commented Dec 7, 2021

中文用户注意:

  1. 尽量用英文描述你的 Issue,你的问题是面向世界的
  2. 不要把内容堆彻在标题上,逻辑清晰地写在内容区
  3. 贴代码要提前格式化好,有颜色高亮那种,贴文本,不要贴图片
  4. 提问题前,务必仔细阅读 README.md;在已关闭的问题中寻找与自身相关的问题,90% 的可能它已经被解决

BUG REPORT TEMPLATE

Vue.js version and component version

Vue 2

Reproduction Link

Steps to reproduce

Hi, wanted to change the slide per view option while resizing on ipad split screen size.
when the screen is 2/3 or half view the resize function is call to change the slidesPerView to 1 and 1/3 view to 1.15.
uses the :key to re-render. I had also use a watch to watch the state change

What is Expected?

when the screen is 2/3 or half view the resize function is call to change the slidesPerView to 1 and 1/3 view to 1.15.

What is actually happening?

The state is change but the component did not re-render.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant