oulan / iui

Automatically exported from code.google.com/p/iui
MIT License
0 stars 0 forks source link

Go to top of page #246

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Go to a long page with a lot of lists and scroll down
2. Click on item at bottom to go to a next list, that also pretty long
3. You stay at the place and won't go to top of page!

What is the expected output? What do you see instead?
Go to the top of the page

What version of the product are you using? On what operating system?
0.31 and thought 0.40 would fix it but didn't. I'm on iPhone OS 4.0 beta, 
the error is also on 3.1.2 or further

Please provide any additional information below.

Go to http://www.ipokemon.net, scroll down, click on news, the page doens't 
go the top, but sticks at the same level.

I've used a:hover in css to give it color, and it appeared that when you 
select an item and go to another list. It selects an other item at the same 
height on that page. (So it think there's an error in javascript that 
should set all items on unselected).

Hope you know what I mean!

Original issue reported on code.google.com by ipokemon...@gmail.com on 6 May 2010 at 12:49

GoogleCodeExporter commented 9 years ago
I've been done some trail and error and the problem is when animOn: true, so I 
went 
down to see it and I saw that in the function slide1{} there's a scrollTo(0, 1) 
so I 
added a scrollTo(0, 1); to slide2, it kinda solves the problem.

Original comment by ipokemon...@gmail.com on 6 May 2010 at 2:47