Reputation: 199
Keyboard is overlapping text editor area
We have created a xamarin app and in a webview we are loading the application.
when we type text in text editor its not being scroll up, text goes behind the keyboard.
Upvotes: 1
Views: 286
Reputation: 386
In order to not hide an entry below the keyboard, the simplest solution I found is to use the scrollview as in the example:
<ContentView>
<ScrollView Margin="0, 5">
<StackLayout Margin="40, 5" Spacing="10">
<Entry Text="{Binding TextEntry1}" Placeholder="Text entry 1"/>
<Entry Text="{Binding TextEntry2}" Placeholder="Text entry 2"/>
<Entry Text="{Binding TextEntry3}" Placeholder="Text entry 3"/>
</StackLayout>
</ScrollView>
</ContentView>
Upvotes: 1