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. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Elements not responding to taps inside TabView (App broker error)

Thread ID:

Created:

Updated:

Platform:

Replies:

148660 Oct 29,2019 01:39 PM UTC Oct 30,2019 02:13 PM UTC Xamarin.Forms 2
loading
Tags: SfTabView
felipe pedroti raymundo
Asked On October 29, 2019 01:39 PM UTC

I have this layout on my application:

<?xml version="1.0" encoding="utf-8" ?>
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" xmlns:tabView="clr-namespace:Syncfusion.XForms.TabView;assembly=Syncfusion.SfTabView.XForms" xmlns:opcoestarefasview="clr-namespace:TaskFly.Views.OpcoesTarefasView" x:Class="TaskFly.Views.OpcoesTarefasGuiaView" Title="Tarefas">

    <ContentPage.ToolbarItems>
        <ToolbarItem x:Name="cmd_tarefa" Icon="ic_tarefa.png" Activated="Cmd_tarefa_Activated" />
    </ContentPage.ToolbarItems>

    <ContentPage.Content>
        <StackLayout BackgroundColor="White" VerticalOptions="FillAndExpand">
            <tabView:SfTabView VisibleHeaderCount="4" SelectionChanged="SfTabView_SelectionChanged" VerticalOptions="FillAndExpand" x:Name="TabView" TabHeaderPosition="Bottom" DisplayMode="ImageWithText" EnableSwiping="False">
                <tabView:SfTabView.OverflowButtonSettings>
                    <tabView:OverflowButtonSettings DisplayMode="ImageWithText" Title="Mais" TitleFontColor="#0097C5" />
                </tabView:SfTabView.OverflowButtonSettings>
                <tabView:SfTabView.SelectionIndicatorSettings>
                    <tabView:SelectionIndicatorSettings Position="Top" />
                </tabView:SfTabView.SelectionIndicatorSettings>                
                <tabView:SfTabItem Title="Coment." x:Name="tabComentario" TitleFontColor="#0097C5">
                    <tabView:SfTabItem.Content>
                        <opcoestarefasview:ComentariosView x:Name="vwComentario" />
                    </tabView:SfTabItem.Content>
                </tabView:SfTabItem>
            </tabView:SfTabView>
        </StackLayout>
    </ContentPage.Content>

</ContentPage>

And this is my ContentView

<?xml version="1.0" encoding="utf-8" ?>
<ContentView xmlns="http://xamarin.com/schemas/2014/forms" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" x:Class="TaskFly.Views.OpcoesTarefasView.ComentariosView" xmlns:syncfusion="clr-namespace:Syncfusion.ListView.XForms;assembly=Syncfusion.SfListView.XForms" xmlns:controls1="clr-namespace:ImageCircle.Forms.Plugin.Abstractions;assembly=ImageCircle.Forms.Plugin" xmlns:shimmer="clr-namespace:Syncfusion.XForms.Shimmer;assembly=Syncfusion.Core.XForms" BackgroundColor="White">
    <ContentView.Content>
        <shimmer:SfShimmer x:Name="shimmer" VerticalOptions="FillAndExpand" Type="Feed">
            <shimmer:SfShimmer.Content>
                <StackLayout>
                    <syncfusion:SfListView x:Name="listaComentario" AutoFitMode="DynamicHeight" Margin="10">
                        <syncfusion:SfListView.ItemTemplate>
                            <DataTemplate>
                                <ViewCell>
                                    <StackLayout Orientation="Horizontal">

                                        <controls1:CircleImage Source="{Binding Usuario.UrlFoto}" HeightRequest="60" WidthRequest="60" Margin="20,30,10,0" />

                                        <StackLayout Orientation="Vertical">
                                            <Label Text="{Binding Usuario.Apelido,  StringFormat='Comentário de: {0}'}  " TextColor="Black" FontSize="12" Margin="0,30,0,0" />
                                            <Label Text="{Binding DataDescricao, StringFormat='Feito {0}'} " TextColor="Black" FontSize="12" />
                                            <Label Text="{Binding FaseTarefa.Descricao, StringFormat='Fase: {0}'}" TextColor="Black" FontSize="12" />
                                            <Label x:Name="lblComentario" Text="{Binding Descricao}" TextColor="Black" FontSize="16" Margin="0,5,0,0">
                                                <Label.GestureRecognizers>
                                                    <TapGestureRecognizer  Tapped="CallButton" NumberOfTapsRequired="1" CommandParameter="{Binding Descricao}" />
                                                </Label.GestureRecognizers>
                                            </Label>

                                        </StackLayout>
                                    </StackLayout>
                                </ViewCell>
                            </DataTemplate>
                        </syncfusion:SfListView.ItemTemplate>
                    </syncfusion:SfListView>

                    <Grid Margin="20,10">
                        <Grid.RowDefinitions>
                            <RowDefinition Height="Auto" />
                            <RowDefinition Height="Auto" />
                        </Grid.RowDefinitions>
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition Width="Auto" />
                            <ColumnDefinition Width="*" />
                        </Grid.ColumnDefinitions>
                        <Image Source="ic_folhas.png" Grid.Column="0" Grid.Row="0" />
                        <Picker x:Name="PickerSelecionarFase" Title="Selecionar Fase" Grid.Column="1" Grid.Row="0" SelectedIndexChanged="PickerSelecionarFase_SelectedIndexChanged" ItemDisplayBinding="{Binding Descricao}" />
                        <Image Source="ic_transferir2.png" Grid.Column="0" Grid.Row="1" />
                        <Picker x:Name="PickerSelecionarUsuario" Title="Selecionar Usuario" Grid.Column="1" Grid.Row="1" SelectedIndexChanged="PickerSelecionaUsuario_SelectedIndexChanged" ItemDisplayBinding="{Binding UsuarioNomeSetor}" />
                    </Grid>

                    <Label Text="Comentário" Margin="20,10" />
                    <Editor x:Name="Comentario" VerticalOptions="Center" Margin="20,0,20,8" AutoSize="TextChanges" />

                    <Button x:Name="cmd_fase" WidthRequest="153" HeightRequest="40" BackgroundColor="#0097C5" Text="Confirmar" FontSize="14" TextColor="White" HorizontalOptions="Center" VerticalOptions="End" Margin="0,0,0,10" Clicked="Cmd_fase_Clicked" />

                </StackLayout>
            </shimmer:SfShimmer.Content>
        </shimmer:SfShimmer>

    </ContentView.Content>
</ContentView>

If I tap on a list item, it responds normally, but when I tap in the Editor or the Pickers control, I'm getting this kind of log from device, and keyboard are not showing:

Error (52) / SpringBoard(KeyboardArbiter): [<_UIKeyboardArbiterHandle: 0x281e861c0; PID 138: (null) <(null)>; hosting PIDs {(
Error (52) / SpringBoard(KeyboardArbiter): HW kbd: Failed to set (null) as keyboard focus
Error (52) / SpringBoard(KeyboardArbiter): -[_UIKeyboardArbiter runOperations:onHandler:]_block_invoke Failed to access <_UIKeyboardArbiterHandle: 0x281e861c0; PID 138: (null) <(null)>; hosting PIDs {(
Error (52) / SpringBoard(KeyboardArbiter): -[_UIKeyboardArbiter runOperations:onHandler:]_block_invoke Failed to access <_UIKeyboardArbiterHandle: 0x281e861c0; PID 138: (null) <(null)>; hosting PIDs {(

When the view is outside tabview, works normally

felipe pedroti raymundo
Replied On October 29, 2019 03:02 PM UTC

Updating: the issue only occurs in iOS, on android it works fine

Hemalatha Marikumar [Syncfusion]
Replied On October 30, 2019 02:13 PM UTC

Hi Felipe, 
 
Greetings from Syncfusion, 
 
We have analyzed your query. We have created sample based on your provided code snippet, but we are unable to reproduce the reported issue. Sample we tried that can be download from below location. 
 
Sample link: 
 
Can you please update the following details? 
 
·       Update Syncfusion nuget version and Xamarin.Forms version. 
·       Provide the modified sample with reported issue. 
  
This will be helpful for us to investigate further and provide you a better solution at the earliest. 
 
Regards,
Hemalatha M. 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon