randolph249 / iscroll-js

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

Fade scrollbar on iPhone not picked up on iPad #2

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Run example on iPad
2. Drag/move element within scroller
3. Scrollbar doesn't fade by default like iPhone

What is the expected output? What do you see instead?
Scrollbar to fade out like iPhone, not just disappear

What version of the product are you using? On what operating system?
3.3b3

Please provide any additional information below.

Quick fix:
Update the regex in this line (Line 449 aprox):

var isIphone = navigator.appVersion.match(/iphone/gi) ? true : false;

to:
var isIphone = navigator.appVersion.match(/iphone|ipad/gi) ? true : false;

(perhaps rename variable...?)

Original issue reported on code.google.com by dono...@gmail.com on 11 Jun 2010 at 3:17

GoogleCodeExporter commented 8 years ago

Original comment by mat...@gmail.com on 11 Jun 2010 at 3:28