1 parent 10161ec commit 62146b9Copy full SHA for 62146b9
1 file changed
ui.go
@@ -100,10 +100,13 @@ func (m model) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
100
}
101
102
if m.state == stateList {
103
- var handled bool
104
- m, cmd, handled = m.handleCustomListKeys(msg)
105
- if handled {
106
- return m, cmd
+ // Only intercept custom selection keys if the user is not actively typing in the filter input.
+ if m.list.FilterState() != list.Filtering {
+ var handled bool
+ m, cmd, handled = m.handleCustomListKeys(msg)
107
+ if handled {
108
+ return m, cmd
109
+ }
110
111
112
0 commit comments