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

轮播组件在PC页面中滑动切换不生效 #112

Closed
yexiaodong opened this issue Jul 31, 2021 · 5 comments
Closed

轮播组件在PC页面中滑动切换不生效 #112

yexiaodong opened this issue Jul 31, 2021 · 5 comments
Assignees

Comments

@yexiaodong
Copy link

yexiaodong commented Jul 31, 2021

swipe 轮播图在PC端无法通过鼠标滑动切换,同时能否加上prev\next切换接口

@yuding2019
Copy link
Contributor

感谢反馈。你是想通过鼠标滚轮进行切换还是单纯鼠标滑动切换呢,如果后者,由于组件库是基于touch事件,不支持桌面端的mouse事件,如需适配桌面端,请尝试安装@varlet/touch-emulator进行适配

@yexiaodong
Copy link
Author

好的,谢谢。我刚刚还发现一个问题:在移动端旋转屏幕,轮播图的大小不会变化。prev\next切换接口能支持吗?

@haoziqaq
Copy link
Member

prev next现在就已经支持的 可以看下文档 方法那一栏里
轮播图大小不变化的问题我们稍后就修复

haoziqaq added a commit that referenced this issue Jul 31, 2021
@haoziqaq
Copy link
Member

修复了,感谢兄弟

@yexiaodong
Copy link
Author

prev\next\resize方法已经可以正常使用了,谢谢

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

3 participants