microsoft / microsoft/microsoft-ui-xaml
Expander header + TextBox
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 8.4k
- Forks
- 942
- Avg merge
- 2d 7h
- Merged PRs (30d)
- 105
Description
### Describe the bug
I have expander and in header I have TextBox. When user writes into the textbox the expander on each space expands/hides content. Expander's template is button template and it reacts on space as Accelerator key - similarly as button does - and space is basically use the button command.
### Why is this important?
I may be doing something wrong, but I tried few ways to work it out without luck. Its not nice to expande/hide expander's content on each space.
### Steps to reproduce the bug
```
```
Now when you write in such expander, then it expands on space.
### Actual behavior
_No response_
### Expected behavior
When focus is on TextBox, underlying Expander header doesn't process it.
### Screenshots
_No response_
### NuGet package version
2.0.1
### Windows version
Windows 10 (21H2): Build 19044
### Additional context
_No response_
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the reported Expander/TextBox interaction using the supplied XAML, then trace the Expander header's input handling and focus behavior. Done means spaces typed while the TextBox is focused no longer expand or hide the content, while ordinary Expander activation still works.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100