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

[Selector] 组件滚动穿透 #157

Closed
zouhangwithsweet opened this issue Jul 23, 2018 · 2 comments
Closed

[Selector] 组件滚动穿透 #157

zouhangwithsweet opened this issue Jul 23, 2018 · 2 comments
Labels
bug Something isn't working

Comments

@zouhangwithsweet
Copy link
Collaborator

zouhangwithsweet commented Jul 23, 2018

Mand Mobile Version

1.5.1-1.41.

OS Version & Browser Version

ios: 11.4.1
browser: wechat 内置浏览器,Safari, Chrome67(手机端)

Node Version, Package Management Tool

Node@8.11.2
vue-cli@3.rc3

Recurring Links

https://vjp3qyw6yy.codesandbox.io/

Recurring Steps

容器足够高出现滚动条,
selector的选项足够多,出现滚动条

Expectant Behaviors

滚动不穿透

Actual Behaviors

滚动穿透

@zouhangwithsweet zouhangwithsweet changed the title selector 组见滚动穿透 selector 组件滚动穿透 Jul 23, 2018
@xxyan0205 xxyan0205 added the bug Something isn't working label Jul 23, 2018
@xxyan0205 xxyan0205 changed the title selector 组件滚动穿透 [Selector] 组件滚动穿透 Jul 23, 2018
moyus pushed a commit that referenced this issue Jul 24, 2018
* fix(scroll-view):fix content can not respond to click events

* fix(selector):fix click penetration #157

* doc(popup):update prevent-scroll
@moyus moyus closed this as completed Jul 24, 2018
@LiangNex
Copy link

同类滚动嵌套场景下,可否麻烦帮添加一个md-scroll-view的禁用滚动事件传播的功能,并可由md-selector传入一个属性以启用该功能。

现有需求在滚动嵌套的场景下, md-selector的弹层开启后, 弹层内的内容滚动到底后不希望触发父页面的滚动事件

@xxyan0205
Copy link
Collaborator

md-selector的弹层开启后, 弹层内的内容滚动到底后不希望触发父页面的滚动事件

滚动穿透的问题只存在于1.x,在最新的版本中嵌套了scrollview不存在这个问题

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants