We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Nested ListView inside tabview causes items to be truncated

the scrollable area is not calculated correctly so that last item is cut off at the bottom of the list...

please see the attached code. it appears to be OK in UWP but not in Android. Did not test in iOS...

Attachment: MasterDetailPageListTruncated_c218cbfd.zip

2 Replies

JN Jayaleshwari N Syncfusion Team February 5, 2019 12:27 PM UTC

Hi Mark, 
 
Currently we are checking with the reported query “Nested ListView inside tabview causes items to be truncated”. We will update you further details in one business day (February 5, 2019). 
 
Regards, 
Jayaleshwari N. 



JN Jayaleshwari N Syncfusion Team February 6, 2019 12:35 PM UTC

Hi Mark,  
  
Sorry for the delay caused.  
  
We have checked the reported query from our side. We would like to know that when any item is loaded inside Tabview without any defined height, loaded item’s view will be hidden inside the tabview if item size exceeds tabview height. This same issue will occur in xamarin listview also. You can resolve this issue by defining specific Height to the Rowdefinition of Grid which is loaded inside TabView in your sample like below.  
  
  
<ContentPage>  
        <syncfusion:SfTabView >  
            <syncfusion:SfTabItem Title="Contact" >  
                 <syncfusion:SfTabItem.Content>  
                    <Grid >  
                        <Grid.RowDefinitions>  
                            <RowDefinition Height="500"/>    
                        </Grid.RowDefinitions>  
                        <syncfusionlist:SfListView />  
                    </Grid >  
                  </syncfusion:SfTabItem.Content>  
             </syncfusion:SfTabItem>  
         </syncfusion:SfTabView >  
</ContentPage>    
  
We have attached the sample for your reference and you can download the same from the following location. 
 
Please let us know if you require any further assistance.  
  
Regards,  
Jayaleshwari N 


Loader.
Live Chat Icon For mobile
Up arrow icon