baoyongzhang / baoyongzhang/SwipeMenuListView

Touch intercepts event if menu was not shown

Open
#60 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
3.5k
Forks
1.2k
PR merge metrics
No merged PRs in 30d

Description

Pre-conditions: only for some items we have a menu (for example viewType = 1), for others there is no menu when swipe

Steps to reproduce:
1. Try to swipe an item with no menu for that item type
2. Perform any other type of touch event for the ListView

Actual result: Touch event from step 2 was intercepted by the SwipeMenuListView and no action was performed. (like we had opened swipe menu, but it is not, because we tried to swipe an item with no Swipe Menu)

Expected result: Touch event was performed and appropriate action (scroll, item click or any other, which user was tried to perform in step 2) was proceeded.

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the steps with an item type that has no swipe menu, then inspect SwipeMenuListView's touch interception path. Verify that touches on items without menus continue to the appropriate ListView action, including scrolling and item clicks, while menu-enabled swipe behavior still works.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.