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

ios Carousel cannot swipe 轮播图无法滑动 #3106

Closed
RogerWenXin opened this issue Jun 15, 2022 · 6 comments
Closed

ios Carousel cannot swipe 轮播图无法滑动 #3106

RogerWenXin opened this issue Jun 15, 2022 · 6 comments

Comments

@RogerWenXin
Copy link

TuSimple/naive-ui version (版本)

2.30.4

Vue version (Vue 版本)

3.2.37

Browser and its version (浏览器及其版本)

any

System and its version (系统及其版本)

ios

Node version (Node 版本)

Reappearance link (重现链接)

https://www.naiveui.com/zh-CN/light/components/carousel

Reappearance steps (重现步骤)

use iphone to visit naive ui official page, cannot swipe.

Expected results (期望的结果)

can swipe to next and preview

Actual results (实际的结果)

swipe cannot work

Remarks (补充说明)

@github-actions github-actions bot added the untriaged need to sort label Jun 15, 2022
@07akioni 07akioni removed the untriaged need to sort label Jun 19, 2022
@07akioni
Copy link
Collaborator

set draggable to true

@RogerWenXin
Copy link
Author

set draggable to true

I mean IOS cannot swipe, you can reappearance it use iphone to visit official page, the slide effect cannot use on ios, even draggable.

@07akioni 07akioni reopened this Jun 20, 2022
@07akioni
Copy link
Collaborator

@nooooooom

@Wlisfes
Copy link

Wlisfes commented Jun 29, 2022

n-data-table中flex-height设置为true, 在ios、ipad上纵向也无法滑动

@07akioni
Copy link
Collaborator

n-data-table中flex-height设置为true, 在ios、ipad上纵向也无法滑动

get,周末看看,另外提一个 issue 吧

@07akioni
Copy link
Collaborator

点错了

@07akioni 07akioni reopened this Jun 29, 2022
nooooooom added a commit to nooooooom/naive-ui that referenced this issue Jul 5, 2022
07akioni pushed a commit that referenced this issue Jul 10, 2022
* fix(Carousel): #3078, #3106 and simple code

* fix(Carousel): fix slide level error on fade effect

* fix(Carousel): get exact size

* chore(Carousel): only use computed size when slides pre view multiple

* chore: reviewed

* chrome: revise demo

* fix(Carousel): fix the can not trigger touchstart on ios

* docs: changelog
@Sepush Sepush closed this as completed Jul 19, 2022
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

4 participants