[Bug] [iOS] Button inside a ScrollView does not work when keyboard is up.
#6,409 创建于 2019年6月4日
仓库指标
- 星标
- (5,644 个星标)
- PR 合并指标
- (30 天内没有已合并 PR)
描述
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: