SmartSwipe icon indicating copy to clipboard operation
SmartSwipe copied to clipboard

关于drawerConsumer的滑动拦截问题

Open qwasnm789 opened this issue 4 years ago • 2 comments

问题描述

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

请描述您遇到的问题

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

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

qwasnm789 avatar Mar 13 '20 06:03 qwasnm789

试试consumer.lockBottom()

luckybilly avatar Mar 13 '20 07:03 luckybilly

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

qwasnm789 avatar Mar 16 '20 02:03 qwasnm789