You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issue is probably that keybindings, mousebindings and collection navigator consume the events before the users event.
I think that when the user has an explicit event tied to these then they should get priority.
Application.Init();varw=newWindow(){Title="Showcase"};varlv=newListView(){Width=Dim.Fill(),Height=Dim.Fill(),};w.Add(lv);lv.SetSource(newObservableCollection<string>(["cat","fish"]));lv.MouseEvent+=(_,e)=>{if(e.IsSingleClicked){// Also never happensMessageBox.Query("hey","ok","ok");}};lv.KeyDown+=(_,e)=>{MessageBox.Query("hey","ok","ok");};Application.Run(w);Application.Shutdown();
To Reproduce
Steps to reproduce the behavior:
Click into list
press any letter key
Expected behavior
enter callback
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]
Smartphone (please complete the following information):
Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]
Additional context
Add any other context about the problem here.
Set Project & Milestone
If you have access, please don't forget to set the right Project and Milestone.
The text was updated successfully, but these errors were encountered:
tig
changed the title
KeyDown and MouseEvent no longer fires for Listbox
Revisit v2 Cancelable Event Pattern - was KeyDown and MouseEvent no longer fires for Listbox
Mar 3, 2025
Describe the bug
Works for arrow keys but not letters
Issue is probably that keybindings, mousebindings and collection navigator consume the events before the users event.
I think that when the user has an explicit event tied to these then they should get priority.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
enter callback
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
Add any other context about the problem here.
Set Project & Milestone
If you have access, please don't forget to set the right Project and Milestone.
The text was updated successfully, but these errors were encountered: