xamarin/Xamarin.Forms

Image button on UWP not going back to normal state

Aperta

#4910 aperta il 7 gen 2019

 (5 commenti) (0 reazioni) (0 assegnatari)C# (1926 fork)batch import
a/imagebuttone/3 :clock3:help wantedp/UWPt/bug :bug:up-for-grabs

Metriche repository

Star
 (5644 stelle)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

Description

On UWP ImageButton does not go back to Normal state when clicked. It is strange, because it works only when DisplayAlert is called from within Clicked method.

Steps to Reproduce

  1. Download https://github.com/davidortinau/TheLittleThingsPlayground
  2. Remove line 26 from file ThreeFourPage.xaml (Clicked="ImageButton_Clicked")
  3. Run the app
  4. If you click the image button, it will not go back to normal state

Basic Information

  • Version with issue:
  • Last known good version:
  • IDE: Visual Studio: 15.9.3
  • Platform Target Frameworks:
    • UWP: 16299
  • Nuget Packages: Xamarin Forms: 3.4.0.1009999 and 3.4.0.1008975
  • Affected Devices: Desktop application

Guida contributor