ScrollView height exceeds actual size when On screen keyboard layout in the View in iOS platform. #2601
Description
Hi Team,
Description
In iOS platform, we have noticed a weird behavior while scrolling the list items when keyboard layout on the View. We have tried to load a ScrollView with several child elements including ListView. We have Entry element inside the ItemTemplate of ListView. While focusing the Entry element, the On screen keyboard comes into the View and pushes the content upwards. This creates a blank space between keyboard and ListView. Sometimes it doesn't actually push the View above the keyboard. At that time while we scroll the list upwards with keyboard enabled, we have noticed the space again. We have attached the issue replicating sample along with the Video cast to showcase this issue.
Steps to Reproduce
- Run the attached sample in iOS simulators or devices.
- Focus the entry element to layout the keyboard in the View.
- Scroll the list upwards, until you have noticed some white space between ListView and the Keyboard.
Expected Behavior
ScrollView height should be calculated properly when keyboard layout in the View.
Actual Behavior
When keyboard layout in the View, there is a blank space between ListView and Keyboard when scrolled to the end.
Basic Information
- Version with issue: Xamarin.Forms (v2.5.1.527436)
- Platform Target Frameworks: iOS