mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-06-23 02:48:26 +00:00
Scroll to the current item when going back from detail
The list view now supports an item id that will be scrolled to and is highlighted with a shadow. When going back from detail view this is now used to scroll to the currently viewed item.
This commit is contained in:
@ -5,6 +5,7 @@ port module Ports exposing
|
||||
, onUiSettingsSaved
|
||||
, removeAccount
|
||||
, scrollToElem
|
||||
, scrollToTop
|
||||
, setAccount
|
||||
, setAllProgress
|
||||
, setProgress
|
||||
@ -30,7 +31,10 @@ port setProgress : ( String, Int ) -> Cmd msg
|
||||
port setAllProgress : ( String, Int ) -> Cmd msg
|
||||
|
||||
|
||||
port scrollToElem : String -> Cmd msg
|
||||
port scrollToElem : ( String, Int ) -> Cmd msg
|
||||
|
||||
|
||||
port scrollToTop : () -> Cmd msg
|
||||
|
||||
|
||||
port saveUiSettings : ( AuthResult, StoredUiSettings ) -> Cmd msg
|
||||
|
Reference in New Issue
Block a user