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

关于drawerConsumer的滑动拦截问题 #64

Open
qwasnm789 opened this issue Mar 13, 2020 · 2 comments
Open

关于drawerConsumer的滑动拦截问题 #64

qwasnm789 opened this issue Mar 13, 2020 · 2 comments

Comments

@qwasnm789
Copy link

问题描述

drawerConsumer缺少禁用滑动的功能,我在抽屉里面放了一个摇杆,当我进行上下控制摇杆时,拖不动摇杆,只会上拉或者下拉抽屉。

请描述您遇到的问题

  • 预期行为:可以正确拖动摇杆而不会被抽屉拦截

  • 实际行为:只能滑动抽屉,摇杆的上下移动被拦截了,左右移动可以触发。
    04B9858721502F508DA30D05AD68F84520203131456381

@luckybilly
Copy link
Owner

试试consumer.lockBottom()

@qwasnm789
Copy link
Author

不行 lockBottom会导致底部的consumer直接拉不出来,然后我尝试在onSwipeOpened事件中设定lockBottom,也不能解决问题,摇杆的上下移动依然会如gif那样被拦截而变成了consumer的上下移动。

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

2 participants