laviastar / iscroll-js

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

Scrollable area ceasing to scroll before content has ended #16

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi,

I am using the latest iScroll.js file on an iPad (wifi only), and have 
encountered a few issues:

1. (The minor issue) When iPad is in landscape view, I get a scroll bar on the 
far right of the page (not the scrolling content container, but the far right 
of the actual viewport), while I do not get a scroll bar at all in portrait 
mode.  The iScroll settings I am using have the options for showing scroll bars 
set to false.

2. (The major issue) When handling the screen orientation change in Javascript, 
which resizes the scrollable content container, iScroll has significant issues 
and most often will cease to scroll down prior to the actual end of the 
content, the end of the scrolling action is sudden and has no bounce (which is 
on by default et al).  

After some investigation, I have determined that if I have the following webkit 
css attributes on the scrolling content container, I trigger the above issues, 
but if I remove them then iScroll works fine.

        -webkit-transition-property: width, height;
        -webkit-transition-duration: 1s, 1s;

I can give you full access to the html, css and Javascript I am using if you 
need it.

Hope that helps

Regards
Richard

Original issue reported on code.google.com by richardp...@gmail.com on 16 Jul 2010 at 1:54

GoogleCodeExporter commented 9 years ago
Yes, please send me the url where I can review the code.

ps: next time, please one issue per ticket. thanks.

Original comment by mat...@gmail.com on 16 Jul 2010 at 1:58

GoogleCodeExporter commented 9 years ago
File sent to your email address on cubiq.org

I only bundled these into one as the first one is very minor :)

Original comment by richardp...@gmail.com on 16 Jul 2010 at 3:19

GoogleCodeExporter commented 9 years ago
This is not an iScroll bug, but an issue in your application. Latest version of 
iScroll gives more freedom to set custom styles to the wrapper and the scroller 
so you have to take extra care when styling.

Original comment by mat...@gmail.com on 17 Jul 2010 at 6:40