[Bug] [iOS] Button inside a ScrollView does not work when keyboard is up.
#6409 aperta il 4 giu 2019
Metriche repository
- Star
- (5644 stelle)
- Metriche merge PR
- (Nessuna PR mergiata in 30 g)
Descrizione
Description
If a Button is inside a ScrollView and the keyboard is showing, tapping the button will not trigger the button's command. Through testing it appears that the Button.Pressed event IS fired, but the Button.Released and Button.Clicked events ARE NOT fired.
Note: The odd behavior is only evident when the button is moved from it's original position via scrolling while the keyboard is up.
This bug was reported and acknowledged on bugzilla but does not appear to have been moved to github: https://bugzilla.xamarin.com/show_bug.cgi?id=59113
Steps to Reproduce
- Create a ScrollView.
- Create a TextField and Button inside the ScrollView.
- Add a Command to the button.
- Launch the app and focus the TextField so the keyboard appears.
- Scroll so that the button is visible (or simply scroll to move the button to a new position).
- Tap the button.
Expected Behavior
When the button is tapped the command should trigger.
Actual Behavior
When the button is tapped the keyboard disappears but the button command does not trigger.
Basic Information
- Version with issue:
- Last known good version:
- IDE:
- Platform Target Frameworks:
- iOS:
- Android:
- UWP:
- Android Support Library Version:
- Nuget Packages:
- Affected Devices: