luckybilly / luckybilly/SmartSwipe

关于drawerConsumer的滑动拦截问题

Open
#64 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
2.1k
Forks
257
PR merge metrics
No merged PRs in 30d

Description

### 问题描述

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

请描述您遇到的问题

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

- 实际行为:只能滑动抽屉,摇杆的上下移动被拦截了,左右移动可以触发。
![04B9858721502F508DA30D05AD68F84520203131456381](https://user-images.githubusercontent.com/55182175/76597316-1d767600-653b-11ea-868b-3ea14cd66170.gif)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reading the drawerConsumer implementation and reproducing the joystick interaction shown in the issue. Trace how vertical touch events are intercepted, then verify that the joystick can receive vertical drags without moving the drawer while normal drawer swipes still work.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.