mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-06-23 19:08:26 +00:00
Fix initialising pages; improve scroll to item
This commit is contained in:
@ -26,7 +26,7 @@ update mId key flags settings msg model =
|
||||
Init ->
|
||||
Util.Update.andThen2
|
||||
[ update mId key flags settings (SearchMenuMsg Comp.SearchMenu.Init)
|
||||
, doSearch flags settings
|
||||
, scrollToCard mId
|
||||
]
|
||||
model
|
||||
|
||||
@ -251,7 +251,7 @@ update mId key flags settings msg model =
|
||||
ScrollResult _ ->
|
||||
let
|
||||
cmd =
|
||||
Process.sleep 350 |> Task.perform (always ClearItemDetailId)
|
||||
Process.sleep 800 |> Task.perform (always ClearItemDetailId)
|
||||
in
|
||||
withSub ( model, cmd )
|
||||
|
||||
|
Reference in New Issue
Block a user