Jignesh Patel
Jignesh Patel

Reputation: 199

Keyboard overlaping issue with web view developed in xamarin

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.

enter image description here

Upvotes: 1

Views: 286

Answers (1)

AndreaGobs
AndreaGobs

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

Related Questions