xamarin / Xamarin.Forms

Xamarin.Forms is no longer supported. Migrate your apps to .NET MAUI.
https://aka.ms/xamarin-upgrade
Other
5.63k stars 1.87k forks source link

Button Pressed Animation not shown in iOS #5595

Open Chozarajan opened 5 years ago

Chozarajan commented 5 years ago

Description

The Xamarin Forms Button was added to the scroll view the button pressed animation was not shown in the UI.

Steps to Reproduce

  1. Run the attached sample
  2. Tab the Button in StackLayout and ScrollView
  3. The Button inside the ScrollView don't have the tab animations. Check the attached video

Expected Behavior

The Button clicked animation will show in all the layouts

Actual Behavior

The clicked animation was not shown in ScrollView

Basic Information

Screenshots

The below are the issue reproduced video link, Link: XamarinFormsButton.zip

Reproduction Link

The below are the issue reproduced sample link,

Link: Sample.zip

Lelelo1 commented 5 years ago

Are you sure it is not delayed? Try a slow click? https://forums.xamarin.com/discussion/72586/no-feedback-when-tap-a-button-inside-a-scrollview-only-click-gives-feedback-ios The default value of DelayContentTouches mentioned in the thread should probably be false.