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

Swiper轮播加了切换动画效果fade后无法触摸滚动 #20

Closed
LetHergo opened this issue Apr 16, 2018 · 11 comments
Closed

Swiper轮播加了切换动画效果fade后无法触摸滚动 #20

LetHergo opened this issue Apr 16, 2018 · 11 comments
Labels
feature New feature or request
Milestone

Comments

@LetHergo
Copy link

另外文档中transition可选值中有两个fade

@moyus
Copy link
Contributor

moyus commented Apr 16, 2018

请提供以下信息,方便我们排查问题:
1.设备型号及浏览器
2.mand-mobile包的版本号
3.swiper使用的关键代码

@xxyan0205 xxyan0205 added the question Further information is requested label Apr 16, 2018
@LetHergo
Copy link
Author

1.设备是iphone6plus Safari浏览器 以及PC端chrome浏览器
2."mand-mobile": "^1.0.4",
3.代码用的Swiper文档示例渐隐轮播的代码

@xxyan0205 xxyan0205 added feature New feature or request and removed question Further information is requested labels Apr 16, 2018
@moyus
Copy link
Contributor

moyus commented Apr 16, 2018

当前swiper的fade模式不支持触摸滚动,这个特性需求会在1.1版本里加入

@LetHergo
Copy link
Author

另外~ 文档中示例 Tabs 标签页 指定默认标签:default-index="2" 失效。
但是 TabBar 标签栏中示例是正常的。
@moyus

@moyus
Copy link
Contributor

moyus commented Apr 16, 2018

感谢指出,我们会及时修正文档示例及说明。
@LetHergo

@LetHergo
Copy link
Author

@moyus DropMenu 下拉菜单中 change事件时能否添加获取该项index值

@xxyan0205
Copy link
Collaborator

@LetHergo change事件会涉及BarItem和listItem的更改,所以既需要确定BarItem和ListItem的索引,又要ListItem的数据,所以目前可以在构造data时,将索引值添加到BarItem和Listitem中,这样就可以在数据中拿到,比如:

const data =[{
  text: 'bar-item-0',
  index: 0,
  options: [{
    text: 'list-item-0-0',
    index: 0,
  },{
    text: 'list-item-0-1',
    index: 1,
  }]
},{
  text: 'bar-item-1',
  index: 1,
  options: [{
    text: 'list-item-1-0',
    index: 0,
  },{
    text: 'list-item-1-1',
    index: 1,
  }]
}]

@LetHergo
Copy link
Author

@moyus @xxyan0205 能否给下拉菜单 DropMenu 遮罩 添加类似 Popup弹出层 是否禁止滚动穿透prevent-scroll类似的属性

@xxyan0205
Copy link
Collaborator

xxyan0205 commented Apr 20, 2018

@LetHergo DropMenu的遮罩和Table滚动应该没有允许击穿的场景,所以这个地方当做一个bug处理, #29

@LetHergo
Copy link
Author

@xxyan0205 TabPicker 多级联动选择器 示例点击没有反应

@xxyan0205
Copy link
Collaborator

@LetHergo 感谢反馈,站点构建的问题,已修复。

@xxyan0205 xxyan0205 added this to the v1.1.x milestone Apr 28, 2018
@moyus moyus closed this as completed May 4, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants