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
close icon

Hello, I have two problem need to fix them.

Hello. I have 2 problem when I using syncfusion Popup

1. Combo box show 2 suggestion when I click combo box in popup
2. AutosizeMode Height not working.
Here My Code

<?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:d="http://xamarin.com/schemas/2014/forms/design"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
             xmlns:view="clr-namespace:PetStoreAPP.View"
             xmlns:syncfusion="clr-namespace:Syncfusion.SfDataGrid.XForms;assembly=Syncfusion.SfDataGrid.XForms"
             xmlns:local="clr-namespace:PetStoreAPP.ViewModels"
             xmlns:local1="clr-namespace:PetStoreAPP.Helpers"
             xmlns:sfPopup="clr-namespace:Syncfusion.XForms.PopupLayout;assembly=Syncfusion.SfPopupLayout.XForms"
             xmlns:inputLayout="clr-namespace:Syncfusion.XForms.TextInputLayout;assembly=Syncfusion.Core.XForms"
             xmlns:ListCollection="clr-namespace:System.Collections.Generic;assembly=netstandard"
             xmlns:autocomplete="clr-namespace:Syncfusion.SfAutoComplete.XForms;assembly=Syncfusion.SfAutoComplete.XForms"
             xmlns:combobox="clr-namespace:Syncfusion.XForms.ComboBox;assembly=Syncfusion.SfComboBox.XForms"
             x:Class="PetStoreAPP.View.HomeIndex"
             Title="Home">


    <ContentPage.BindingContext>
        <local:PetInfoResponsitory x:Name="viewModel" />
    </ContentPage.BindingContext>
    <ContentPage.Resources>
        <ResourceDictionary>
            <local1:CellStyleConverter x:Key="cellStyleConverter" />
        </ResourceDictionary>
    </ContentPage.Resources>
    <sfPopup:SfPopupLayout x:Name="popupLayout">


        <sfPopup:SfPopupLayout.PopupView>
            <sfPopup:PopupView MinimumHeightRequest="450"   AutoSizeMode="Width"  HeaderTitle="Modal Window">
                <sfPopup:PopupView.ContentTemplate>
                    <DataTemplate>
                        <StackLayout  Padding="5,5,5,0">
                            <inputLayout:SfTextInputLayout 
                               ContainerType="Outlined"
                               Hint="Pet Name"
                                WidthRequest="350"
                               >
                               <Entry />
                            </inputLayout:SfTextInputLayout>

                            <inputLayout:SfTextInputLayout Hint="Pet Type" ContainerType="Outlined">
                                <combobox:SfComboBox>
                                    <combobox:SfComboBox.ComboBoxSource>
                                        <ListCollection:List x:TypeArguments="x:String">
                                            <x:String>1</x:String>
                                            <x:String>2</x:String>
                                            <x:String>3</x:String>
                                        </ListCollection:List>
                                    </combobox:SfComboBox.ComboBoxSource>
                                </combobox:SfComboBox>
                            </inputLayout:SfTextInputLayout>

                            <inputLayout:SfTextInputLayout
                               ContainerType="Outlined"
                               Hint="Pet Own"
                                WidthRequest="350"
                               >
                                <Entry />
                            </inputLayout:SfTextInputLayout>
                        </StackLayout>
                    </DataTemplate>
                </sfPopup:PopupView.ContentTemplate>
            </sfPopup:PopupView>
        </sfPopup:SfPopupLayout.PopupView>

        <sfPopup:SfPopupLayout.Content>
            <syncfusion:SfDataGrid  x:Name="dataGrid"
                                ItemsSource="{Binding petInfoCollection}"
                                ColumnSizer="Star"
                                AutoGenerateColumns="False"
                                AllowMultiSorting="True"
                                GridTapped="DataGrid_GridTapped">

                <syncfusion:SfDataGrid.Columns x:TypeArguments="syncfusion:Columns">

                    <syncfusion:GridTextColumn HeaderText="Pet ID" 
                                            MappingName="id" 
                                           />
                    <syncfusion:GridTextColumn HeaderText="Pet Name"
                                            MappingName="name" />
                    <syncfusion:GridTextColumn HeaderText="Pet Type"
                                            MappingName="type" />


                    <syncfusion:GridTextColumn HeaderText="Bought"
                                   MappingName="isBought"  Format="C">
                        <syncfusion:GridTextColumn.CellStyle>
                            <Style TargetType="syncfusion:GridCell">
                                <Setter Property="Foreground" Value="{Binding isBought, Converter={StaticResource cellStyleConverter}}" />
                            </Style>
                        </syncfusion:GridTextColumn.CellStyle>
                    </syncfusion:GridTextColumn>
                </syncfusion:SfDataGrid.Columns>
            </syncfusion:SfDataGrid>
        </sfPopup:SfPopupLayout.Content>
    </sfPopup:SfPopupLayout>
</ContentPage>

Attachment: Fix_371414dc.rar

3 Replies

MK Muneesh Kumar G Syncfusion Team July 30, 2019 01:07 PM UTC

Hi Nguyen,  
  
Greetings from Syncfusion, 
 
Currently we are validating this. We will update you the status of this on or before August 1st, 2019. We appreciate your patience until then.  
    
Regards,   
Muneesh Kumar G.   
 



MK Muneesh Kumar G Syncfusion Team August 1, 2019 12:45 PM UTC

Hi Nguyen,   
 
We were able to reproduce the issue “Two combo box drop down opens when using AutoSize in popup ” and we confirm this as a bug and logged a defect report. You can keep track of the bug from the feedback portal below. 
  
  
The provided feedback link is private, and you need to login to view this feedback. 
  
The fix for the reported issue will be available on our August 27th 2019 weekly nuget release. 
 
If you have any more specification/precise replication procedure or a scenario to be tested, you can add it as a comment in the portal. 
 
Thanks,   
Muneesh Kumar G.   
 



MK Muneesh Kumar G Syncfusion Team August 28, 2019 02:12 PM UTC

Hi Nguyen,   
 
We glad to announce that the fix included in our weekly NuGet packages v17.2.0.47 and it has been published in nuget.org (https://www.nuget.org/).  
  
Please get in touch with us if you would require any further assistance. 
 
Regards,  
Muneesh Kumar G 
 


Loader.
Live Chat Icon For mobile
Up arrow icon