Keyboard covers Editor: Version 1.2.3 (iOS)

SumitSumit USMember

I have a listview in which I am using Editor control. On tapping on to the editor control, keyboard covers it. One of my limitation is that i cant upgrade to latest version of Xamarin.Forms. Tried putting inside Scrollview still no results

This is how my Listview looks like:

 <ListView 
          x:Name="categoryList"
          ItemsSource="{Binding Categories}"
          HorizontalOptions="FillAndExpand"
          VerticalOptions="FillAndExpand">

        <ListView.ItemTemplate>
         <DataTemplate>
                <ViewCell>
                <ViewCell.View>
                    <StackLayout 
                        Padding="5"
                        Orientation="Vertical">
                        <Label 
                            Text="{Binding Title}"/>

                 <StackLayout 
                            Padding="0,0,0,5"
                            Orientation="Vertical">

                              <Label 
                                Text="Comments" 
                                Font="{StaticResource tableRowFont}" 
                                YAlign="Center" 
                                HorizontalOptions="StartAndExpand" />

                              <Editor 
                                Text="{Binding Comments}"
                                VerticalOptions="FillAndExpand"
                                HeightRequest="100" 
                                Keyboard="Default" />

                        </StackLayout>

                    </StackLayout>        
                </ViewCell.View>
            </ViewCell>
          </DataTemplate>
        </ListView.ItemTemplate>
      </ListView>
Tagged:

Posts

  • FredyWengerFredyWenger CHInsider ✭✭✭✭✭

    @Sumit:
    If the Editor is in a StackLayout and the StackLayout is in a ScrollView it works (at least in my app).
    For your Implementation, I can't say anything.
    But..you really need the editor in the StackLayout in the ListView...? (for each ListView-Item)
    Maybe you could change this and call e.g. a Popup (XLabs) where then the editor is showed (you then further have more space for the Editor :wink: ) ?

  • SumitSumit USMember

    @FredyWenger I came here with a hope for a workaround :) . If there isn't than I will have to unfortunately change the design.

  • SumitSumit USMember

    Anyone?

Sign In or Register to comment.