xamarin/Xamarin.Forms

[Bug] Button "released" event not fired when using Shell

オープン

#6,443 opened on 2019/06/07

 (2 件のコメント) (2 件のリアクション) (0 人の担当者)C# (1,926 件のフォーク)batch import
a/shell :shell:e/2 :clock2:help wantedt/bug :bug:up-for-grabs

Repository metrics

Stars
 (5,644 個のスター)
PR merge metrics
 (30d に merged PR はありません)

説明

Description

When using Shell, the event "released" on button are not fired if you move your finger while holding the button, even if it's the slightest move. Works well on an application without Shell. Behavior observed only on Android, not iOS.

Steps to Reproduce

  1. Create an application using Shell
  2. Add a button on a page
  3. Wire "released" event to whatever you want
  4. Run the app
  5. Hold the button
  6. Move just a bit your finger
  7. Release your finger

=> No event

Expected Behavior

The event "released" should be fired

Actual Behavior

It's not fired.

Basic Information

  • Version with issue: Tested on 4.0.0.482894 and 4.1.0.483098-pre1

  • Last known good version: None

  • IDE: Visual Studio 2019 16.1.1

  • Platform Target Frameworks:

    • iOS: Works as expected
    • Android: Compile using Android 9.0
    • UWP: Not tested
  • Android Support Library Version: 28.0.0.1

Reproduction Link

ButtonReleasedBugRepro.zip

コントリビューターガイド