I have a working nested list. When I navigate back by click the back button, it correctly loads the previous list BUT the default seems to scroll it to the top.
It's annoying because say I click on list item #50 and click back, it should show the list positioned back at the position where I was (at item 50) not be scrolled up at item 1. It forces me to scroll down all the way to item 50 to continue exploring where I was.
So is there a way to cancel the "scroll-to-top-on-back" behavior of the nested list? Any way to hack this in the code appreciated
Yes you could use method
scrollToRecord()method for your list onbackevent inNestedList. Like thisAnother way
You could set previous scroll position by using
getScrollable(). You need to useitemtapandbackevents onNestedList.On
itemtapyou get get current scroll position and set into your current active listAnd on back button you can again set the same previous scroll position to your list.
You can check with working FIDDLE
CODE SNIPPET