Merge pull request #864 from eikek/fix/863-dropdown-space

Don't toggle dropdown on space
This commit is contained in:
mergify[bot] 2021-06-09 20:40:01 +00:00 committed by GitHub
commit 9da47cd76c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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