Welcome to the Blazor feedback portal. We’re happy you’re here! If you have feedback on how to improve the Blazor, we’d love to hear it!

  • Check out the features or bugs others have reported and vote on your favorites. Feedback will be prioritized based on popularity.
  • If you have feedback that’s not listed yet, submit your own.

Thanks for joining our community and helping improve Syncfusion products!

1
Vote

 Blur event is triggered while open the popup for first time.

Replication procedure:

1. Focus the combobox clicking into textbox part.

2. Click on dropdown button.

3. Expected: Focus event count should be 1.

4. Actual: Blur is triggered and again Focus event were raised after you clicked on drop button even though the combobox is already focused.


@
using System.Diagnostics

@using Syncfusion.Blazor.DropDowns


<p>Combobox Focus event triggered count:@FocusCount</p>

<p>Combobox Blur event triggered count:@BlurCount</p>


<SfComboBox TValue="string" TItem="string">

    <ComboBoxEvents TValue="string" TItem="string" Blur="OnBlur" Focus="OnFocus"> </ComboBoxEvents>

</SfComboBox>


@code {

    public int FocusCount { get; set; }

    public int BlurCount { get; set; }


    public void OnBlur()

    {

        BlurCount++;

        Debug.WriteLine("Blur");

    }

    public void OnFocus()

    {

        Debug.WriteLine("Focus");

        FocusCount++;

    }

}

Empty