Vandzelyak / iscroll-js

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

Cannot slide beyond list item 7 (carousel) #42

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

Not sure, but try to add more than 7, prolly 10-15 list elements and then try 
to scroll across. The problem I am facing might occur.

What is the expected output? What do you see instead?
I was expecting to scroll across the whole image gallery. However, can't get 
past 7 list element.

What version of the product are you using? On what operating system?
3.7.1 (Windows 7 32-bit)

Please provide any additional information below.

Original issue reported on code.google.com by altafaly@gmail.com on 6 Jan 2011 at 5:49

GoogleCodeExporter commented 8 years ago
Please see the output I got

Original comment by altafaly@gmail.com on 6 Jan 2011 at 5:55

Attachments:

GoogleCodeExporter commented 8 years ago
I think this is related to the images loading after the iScroll is initialised 
- they change the size of the content without triggering a refresh. You may 
find that setting the width of the images would be sufficient fix.

Original comment by harrygor...@googlemail.com on 9 Jun 2011 at 3:26

GoogleCodeExporter commented 8 years ago
Yeah what I had to do was set the width of #scroller to be 300*(number of 
images), where 300 = the width of #scroller li. I did this server-side.

Original comment by zippe...@gmail.com on 12 Jul 2011 at 6:58