Unplanned
Last Updated: 15 Jul 2021 13:48 by ADMIN
Vivian
Created on: 15 Jul 2021 13:48
Category: ComboBox
Type: Bug Report
1
ComboBox: [UWP] Entry steals focus and cannot close the dropdown in Edit Mode

if you have the following setup, more than one ComboBox controls:

<Grid>
    <Grid.RowDefinitions>
        <RowDefinition Height="Auto"/>
        <RowDefinition Height="Auto"/>
    </Grid.RowDefinitions>
    <telerikInput:RadComboBox Grid.Row="0"
                                ItemsSource="{Binding Items}" 
                            DisplayMemberPath="Name"                        
                            SearchTextPath="Name"
                            SearchMode="Contains"
                            Placeholder="select a response..."
                            FontSize="12"
                                x:Name="popup1"
                            SelectionMode="Single"
                            HorizontalOptions="FillAndExpand"
                            HighlightTextColor="DarkOrange"
                            IsDropDownClosedOnSelection="True"
                            IsEditable="True">
           
    </telerikInput:RadComboBox>

    <telerikInput:RadComboBox ItemsSource="{Binding Items}" 
                                DisplayMemberPath="Population" 
                                Grid.Row="1" x:Name="popup2"                      
                            SearchTextPath="Population"
                            SearchMode="Contains"
                            Placeholder="select an employee..."
                            FontSize="12"
                            SelectionMode="Single"
                            HorizontalOptions="FillAndExpand"
                            HighlightTextColor="DarkOrange"
                            IsDropDownClosedOnSelection="True"
                            IsEditable="True">
    </telerikInput:RadComboBox>
</Grid> 

 

and when the user clicks on the first/second control but did not select an item and clicks on another combo, the entry steals focus and cannot close the dwop/down or navigate away.

 

0 comments