xamarin-demos icon indicating copy to clipboard operation
xamarin-demos copied to clipboard

[Bug] Button's click event in the DropDownFooter of SfComboBox not get called on UWP

Open SunshineSpring666 opened this issue 4 years ago • 1 comments
trafficstars

Hi Syncfusion Team, The click event of Button in a DropDownFooter of SfComboBox does not get fired (only on UWP). On Android it's ok. The above issue reappeared in latest updates.

Tested Environment: - Visual Studio 16.9.0 Preview5 - Xamarin 5.0.0.2012 - Syncfusion.Xamarin 18.4.0.44 - Windows 10 Build 21292

 Code snippet:
 `
 <!--MainPage.xaml-->
   <cb:SfComboBox DropDownFooterViewHeight="90">
        <cb:SfComboBox.ComboBoxSource>
            <ListCollection:List x:TypeArguments="x:String">
                <x:String>Item 1</x:String>
            </ListCollection:List>
        </cb:SfComboBox.ComboBoxSource>

        <cb:SfComboBox.DropDownFooterView>
            <Button Text="+ Add New" Clicked="AddNewClicked"/>
        </cb:SfComboBox.DropDownFooterView>
    </cb:SfComboBox>

// MainPage.xaml.cs
 private async void AddNewClicked(object sender, EventArgs e)
  {
      await DisplayAlert("Add New Clicked","","OK");
  }
 `

 Thanks in advance.
 Best Regards

SunshineSpring666 avatar Mar 01 '21 13:03 SunshineSpring666

Update: The above issue exist with latest components:

  • Visual Studio 16.10.0 Preview3
  • Xamarin 5.0.0.2012
  • Syncfusion.Xamarin 19.1.0.63
  • Windows 10 Build 21382
  • Windows 10 SDK Build 20344

SunshineSpring666 avatar May 17 '21 15:05 SunshineSpring666