Hi Josepth Badrouk,
We have reviewed the query and reproduced the reported issue in the WPF SfTextBoxExt with AutoComplete. The issue occurs because the ScrollViewer's scroll event cannot be detected in the TextBoxExt. As a workaround, the ScrollChanged event can be handled, and the suggestion box's IsDropDownOpen property can be set to false to close the dropdown. Code snippets and a sample file have been provided below for reference. Please confirm the proposed workaround is fine, let us know if you have any concerns.
XAML
<ScrollViewer ScrollChanged="ScrollViewer_ScrollChanged">
<StackPanel >
<editors:SfTextBoxExt x:Name="autocomplete" HorizontalAlignment="Center" Margin="50"
VerticalAlignment="Center"
Width="300"
Height="40"
SearchItemPath="Name"
AutoCompleteMode="Suggest"
AutoCompleteSource="{Binding Employees}" />
c#
private void ScrollViewer_ScrollChanged(object sender, ScrollChangedEventArgs e)
{
if(autocomplete.IsSuggestionOpen)
{
autocomplete.IsSuggestionOpen = false;
}
}
Regards,
Surya
Attachment:
TextBoxExtStyle_dbc6bfd4.zip