ant-design/ant-design-mobile

关于移动端使用【Swiper+Slider】的问题

Open

#5,894 opened on Dec 23, 2022

View on GitHub
 (0 comments) (0 reactions) (0 assignees)TypeScript (2,313 forks)batch import
enhancementhelp wanted

Repository metrics

Stars
 (11,238 stars)
PR merge metrics
 (Avg merge 1d 14h) (9 merged PRs in 30d)

Description

Version of antd-mobile

5.27.0

Description

您好,我用tabs+swiper组建了一个可以左右滑动的页签, 在第一个页签下,swiper中放置了slider滑动输入条, 当我拖动slider去改变值时,同时会触发swiper的左右滑动事件, 请问可以怎么避免滑动事件的同时发生呢?我没有找到对应方法或接口修改🤦‍♂️

Contributor guide