lepoco / lepoco/wpfui

AutoSuggestBox is not working properly

Open
#480 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
C#
Stars
9.6k
Forks
1k
PR merge metrics
No merged PRs in 30d

Description

Describe the bug

Hello,

I am using AutoSuggestBox in one of my application and I found few issues with it.

  • Suggestion popup stays open even if I leave the application and I can not click on popup item before focusing application first.
  • I can not figure it out how to change popup items of the suggestion box.
  • There is no direct attribute to show popup when AutoSuggestBox is focused.

*It would be great if these issues are fixed or some example is added to the demo application.

Thank you.

To Reproduce

You can add AutoSuggestBox control in a screen and after opening suggestion popup you can focus on some other application to reproduce.

Expected behavior
  • Popup should hide If I click outside popup or outside application.
  • User should be able to change suggestion item with custom controls.
  • There should be option to show popup immediately after AutoSuggestBox gets focused.
Screenshots

image

OS version

Windows 10

.NET version

v4.7.2

WPF-UI NuGet version

2.0.3

Additional context

This is my first WPF project and first time use of WPFUI,

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the AutoSuggestBox control implementation and its usage in the demo application. Reproduce the suggestion popup behavior when focus leaves the application, then review how suggestion items and focus-triggered display are currently exposed. Done means the reported popup, customization, and focus behaviors are addressed or demonstrated clearly.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
desktop, frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.