Commit 017e366
Fix: Clear search text on load with ApplicationIdle priority
Refined the solution to handle Revit keyboard shortcut bleed-through by clearing `tbxSearch.Text` directly in the window's `Loaded` event with `DispatcherPriority.ApplicationIdle`. This ensures the clearing happens after all pending input events are processed by Revit, effectively removing the errant characters while maintaining the default search bar focus as requested by the maintainer.
Fixes #76
Co-authored-by: chuongmep <31106432+chuongmep@users.noreply.github.com>1 parent fde52c9 commit 017e366
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
35 | | - | |
| 34 | + | |
| 35 | + | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| |||
0 commit comments