xamarin/Xamarin.Forms

[Bug] CollectionView not properly capturing Touch actions on Android

Offen

#7.159 geöffnet am 14.08.2019

 (5 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)C# (1.926 Forks)batch import
a/collectionviewa/gestures 🖖a/listviewe/4 :clock4:help wantedt/bug :bug:up-for-grabs

Repository-Metriken

Stars
 (5.644 Sterne)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

Description

I've implemented an effect to capture touch events on a CollectionView, however, the MotionEvent ACTION_DOWN doesn't seem to be captured on Android. The MotionEvent ACTION_MOVE is properly being captured. I've tested this effect on other views with no issues. I've followed this link for creating the effect.

Steps to Reproduce

Touch down on CollectionView, without sliding.

Expected Behavior

Should fire the view's Touch event

Actual Behavior

Touch event is not fired on ACTION_DOWN

Basic Information

  • Version with issue: 4.2..673161-pre3
  • Last known good version: unknown
  • IDE: VS Mac 8.3 Preview build 1290
  • Platform Target Frameworks:
    • Android: API Level 28

Reproduction Link

CollectionViewTouchBug.zip

Contributor Guide