Skip to content

AutoSuggestBox refactoring#524

Merged
pomianowski merged 27 commits intolepoco:developmentfrom
IvanDmitriev1:AutoSuggestBox-refactoring
Feb 8, 2023
Merged

AutoSuggestBox refactoring#524
pomianowski merged 27 commits intolepoco:developmentfrom
IvanDmitriev1:AutoSuggestBox-refactoring

Conversation

@IvanDmitriev1
Copy link
Copy Markdown
Contributor

@IvanDmitriev1 IvanDmitriev1 commented Feb 2, 2023

Implements a AutoSuggestBox control almost like in winui 3.
Closes: #454, #489, #281, #353

Pull request type

  • Update
  • Bugfix
  • Feature
  • Code style update (formatting, renaming)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • Documentation content changes

What is the current behavior?

  • You cannot navigate to the suggested elements using the keyboard.

What is the new behavior?

  • You can navigate to the suggested elements using the keyboard.
  • Popup will close if AutoSuggestBox lost focus.

@github-actions github-actions Bot added the styles Topic is related to styles label Feb 2, 2023
@github-actions github-actions Bot added the controls Changes to the appearance or logic of custom controls. label Feb 4, 2023
@github-actions github-actions Bot removed the styles Topic is related to styles label Feb 4, 2023
@IvanDmitriev1 IvanDmitriev1 marked this pull request as ready for review February 4, 2023 05:36
Comment thread src/Wpf.Ui.Gallery/Views/Pages/Text/AutoSuggestBoxPage.xaml Outdated
Comment thread src/Wpf.Ui/Controls/AutoSuggestBox/AutoSuggestBox.cs Outdated
@pomianowski
Copy link
Copy Markdown
Member

Hi, thanks for trying to improve the AutoSuggestBox. Apart from changing the view model convention for the page and namespaces, everything looks neat. Thanks for your contribution.

@pomianowski
Copy link
Copy Markdown
Member

Or not, sometimes when I type only one letter, the pop up doesn't show up.

Steps to reproduce

  • Open Gallery app in Debug | Any CPU configuration
  • Type a in the AutoSuggestBox of the main NavigationView
  • Click the clear button of the AutoSuggestBox
  • Type a in the AutoSuggestBox of the main NavigationView, again
  • The popup with suggestions does not show up

image

@pomianowski pomianowski merged commit 0d70824 into lepoco:development Feb 8, 2023
@IvanDmitriev1 IvanDmitriev1 deleted the AutoSuggestBox-refactoring branch February 10, 2023 02:13
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Feb 11, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

controls Changes to the appearance or logic of custom controls.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants