xamarin/Xamarin.Forms
Scrolling not OK for Editor with Autosize=TextChanges inside scrollview inside grid (iOS)
开放
#4,695 创建于 2018年12月10日
e/5 :clock5:help wantedm/high impact :black_large_square:p/iOS 🍎t/bug :bug:up-for-grabs
仓库指标
- 星标
- (5,644 个星标)
- PR 合并指标
- (30 天内没有已合并 PR)
描述
Description
Putting a growing (AutoSize=TextChange) Editor within a scrollview within a grid will cause the following problem. When the bottom of the vidible area is reached and you hit Enter/new line, the cursor will dissappear below the visible area. You will manually have to scroll down in order to see what you are Writing.
This is NOT the case on Android or UWP.
Steps to Reproduce
Create a contentpage with the following content
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="*"/>
<RowDefinition Height="200"/>
</Grid.RowDefinitions>
<ScrollView Grid.Row="0">
<Editor AutoSize="TextChanges"/>
</ScrollView>
<Label Grid.Row="1" Text="Random text" VerticalOptions="FillAndExpand" BackgroundColor="Blue"/>
</Grid>
Run and see what happens when you reach the bottom end of the visible area.
Expected Behavior
Autoscrolled so that the user can see what he is typing.
Actual Behavior
No scroll is made. Cursor dissappears under screen.
Basic Information
- Version with issue: V 3.4.0
- Last known good version: Don't know
- IDE: VS 2017 15.9.3
- Platform Target Frameworks:
- iOS: 12.1
- Android:
- UWP:
- Android Support Library Version:
- Nuget Packages:
- Affected Devices: Tested on iPhone 6
Screenshots
