For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub
- This topic has 15 replies, 4 voices, and was last updated 13 years, 5 months ago by
support-octavio.
-
AuthorPosts
-
paulDMemberHi everyone
I have a long scrolling panel containing a series of list items. On clicking a list item it transitions to another page showing an image. When the back button is pressed on the image page it goes back to the scrolling panel but it resets the position back to the top of the list. This means that you have to scroll back to the position you where at.
Is there a way of stopping the automatic scroll reset so that the scroll panel maintains its last position?
Thanks for any help
Paul
January 23, 2013 at 2:53 pm #334531
support-octavioMemberHi Paul,
We have received this same feedback a few days ago and I have already opened a enhancement bug for consideration in future versions.
January 23, 2013 at 2:59 pm #334532
paulDMemberOk thanks for getting back to me. Just for information is it iscroll 4 you use to implement the scroller in mobione?
Thanks
Paul
January 29, 2013 at 5:53 pm #334735
support-octavioMemberYes, iscroll4 is used for the panel’s scroller implementation.
February 11, 2013 at 2:56 am #335257
paulDMemberHi guys sorry to bring this topic up again but my app has come back from being tested by the users and the feedback is that they really don’t like the scroll reset.
Is there a way I can do a hack to prevent the scroll reset?
thanks
Paul
February 11, 2013 at 11:52 am #335276
support-octavioMemberHi Paul,
Discussing it with dev team, but I’m afraid that it won’t be a easy way to achieve it.
February 11, 2013 at 12:47 pm #335280
BrandonMemberCould this be done with a variable and manually place the scroll panel back to where it was?
February 11, 2013 at 12:59 pm #335281
paulDMemberI did think of that, but the problem is that when the page reloads it must fire a function to reset the scroller which overwrites any variable or function from the previous page or back button.
February 11, 2013 at 1:01 pm #335282
BrandonMemberWhat about keeping the value in local storage?
February 12, 2013 at 1:17 am #335298
paulDMemberNot sure how to do that? I will have a look and read up about it.
Thanks for the suggestion.
Paul
February 14, 2013 at 10:59 am #335426
support-michaelKeymasterPlease note we are currently testing an enhancement that may improve your issues with a panel’s scroll position reset when revisiting the panel’s screen from other screens in your app. We will post a follow up when we have the solution available for early testing.
How it works that a screen that is visited from either a Back button, a GoBack action or phoneui.goBack() javascript function call will not have its scrolling panel’s reset. All screens access via logical forward navigation will be reset as they are now.
February 14, 2013 at 11:36 am #335430
paulDMemberThats great news Wayne thanks for the follow up.
February 22, 2013 at 10:50 am #335790
support-octavioMemberHi Paul,
Please see this dev build available, that includes the function you need to avoid the reset in your lists.
http://www.genuitec.com/support-genuitec/viewtopic.php?f=2&t=5054February 22, 2013 at 2:38 pm #335816
paulDMemberHi Octavio
Brilliant news, thanks to you and the rest of the team for fixing my issue. I’m away from my workstation this weekend but i will give it ago first thing monday and let you know how it goes.
My users will be very happy,
Thanks again
Paul
February 25, 2013 at 5:34 am #335883
paulDMemberHi Guys
Tested the new build and it works like a charm. Thanks again for the effort you put into changing this, it’s great!
Thanks
Paul
-
AuthorPosts
