mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-04-05 10:59:33 +00:00
Merge pull request #864 from eikek/fix/863-dropdown-space
Don't toggle dropdown on space
This commit is contained in:
commit
9da47cd76c
@ -359,7 +359,7 @@ update msg model =
|
||||
|
||||
Just Util.Html.ESC ->
|
||||
if model.menuOpen then
|
||||
( model, Cmd.none )
|
||||
update ToggleMenu model
|
||||
|
||||
else
|
||||
case model.selected of
|
||||
@ -374,7 +374,11 @@ update msg model =
|
||||
( model, Cmd.none )
|
||||
|
||||
Just Util.Html.Space ->
|
||||
update ToggleMenu model
|
||||
if model.menuOpen then
|
||||
( model, Cmd.none )
|
||||
|
||||
else
|
||||
update ToggleMenu model
|
||||
|
||||
Just Util.Html.Enter ->
|
||||
let
|
||||
|
Loading…
x
Reference in New Issue
Block a user