triceam / app-UI

app-UI is a collection of user interface components that may be helpful to web and mobile developers for creating interactive applications using HTML and JavaScript, especially those targeting mobile devices. app-UI is a continual work in progress - it was born out of the necessity to have rich & native-feeling interfaces in HTML/JS experiences, and it works great with PhoneGap applications (http://www.phonegap.com). app-UI can easily be styled/customized using CSS.
http://triceam.github.com/app-UI/
Other
1.27k stars 239 forks source link

ViewNavigators Don't maintain scroll position #6

Open triceam opened 12 years ago

triceam commented 12 years ago

ViewNavigators don't maintain scroll position when navigating back using popView(), they always reset back at the top.

gkcgautam commented 11 years ago

Any updates on this bug? It still exists in the latest version

triceam commented 11 years ago

I'll have to look into it... I fixed this a while ago. It was either not copied back into this repo, or it is commented out. I'm away from my computer today, but can look into it on Monday.

Sent from my iPhone

On Mar 29, 2013, at 11:30 AM, gkcgautam notifications@github.com wrote:

Any updates on this bug? It still exists in the latest version

— Reply to this email directly or view it on GitHub.

gkcgautam commented 11 years ago

Cool. I will also look into the code if I can find the fix. BTW, Is there any documentation yet? I've been digging the code to learn more, but existing docs would be much helpful.

On 3/30/13, Andrew Trice notifications@github.com wrote:

I'll have to look into it... I fixed this a while ago. It was either not copied back into this repo, or it is commented out. I'm away from my computer today, but can look into it on Monday.

Sent from my iPhone

On Mar 29, 2013, at 11:30 AM, gkcgautam notifications@github.com wrote:

Any updates on this bug? It still exists in the latest version

— Reply to this email directly or view it on GitHub.


Reply to this email directly or view it on GitHub: https://github.com/triceam/app-UI/issues/6#issuecomment-15654126

Regards, Gautam Chaudhary http://gautamchaudhary.com

gkcgautam commented 11 years ago

scrollY attribute value is set in this code: (Line 167) children.attr( 'scrollY', scrollY );

But this code always returns undefined: (Line 315) var scrollY= targetDiv.attr( 'scrollY' );

I have checked value in console and the first code gets the correct value, but 'targetDiv' has no 'scrollY' attribute.