randolph249 / iscroll-js

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

It doesn’t work in iPad web pages which have iFrames. #15

Open GoogleCodeExporter opened 8 years ago

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

In iPad safari, if web page has more than one iFrames SIDE BY SIDE and if you 
want to attach iScroll in middle iFrame or right iFrame, user doesn’t get the 
‘touchstart’ event. 

Original issue reported on code.google.com by shweko...@gmail.com on 14 Jul 2010 at 1:57

GoogleCodeExporter commented 8 years ago

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

GoogleCodeExporter commented 8 years ago
I also meet the problem. in addition, the content of iframe will overflow the 
iframe height. how can i solve the problem? thank you!

Original comment by pou629 on 15 Aug 2010 at 9:29

GoogleCodeExporter commented 8 years ago
set overflow:hidden or overflow:auto in the style of iframe as you need.
e.g -
<iframe id="smallFrame" src="scrollTest.htm" style="display:block; 
position:absolute; left:100px; top:150px; !important; overflow:hidden; 
height:300px; width:500px; ">
    </iframe>

Original comment by shweko...@gmail.com on 17 Aug 2010 at 8:13

GoogleCodeExporter commented 8 years ago
Can you help with how you managed to get the iframe to scroll at all? I have a 
fixed height part of the application and I would like to scroll the iframe in 
it, but, out of the box, it is not possible at all. So I'm trying to use 
iScroll, but without much luck at the moment...I would greatly appreciate any 
help. Thanks

Original comment by leo.bud...@gmail.com on 27 Aug 2010 at 8:24

GoogleCodeExporter commented 8 years ago
Nope. Sorry to say that I could not resolve this problem yet. I am using 
two-finger scrolling right now instead of using iScroll.

Original comment by shweko...@gmail.com on 28 Aug 2010 at 11:36

GoogleCodeExporter commented 8 years ago
I get the same problem.. in my scenerio.. the application uses multiple iframes 
which are inserted (in DOM) and displayed on need basis with only one frame 
shown at a time.. Only first inserted iframe dispatches touch_start event and 
none of the subsequent iframes dispatches the event, consequently no scrolling 
works in them..

I guess its an issue of ipad rather than iscroll as it works fine with safari 
on desktop.

Original comment by novoman...@gmail.com on 3 Jan 2011 at 6:11

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Hi guys, dows anyone find an answer for this problem?! I want to use multiple 
iscroll in my web app, works fine in desktop Safari, but in iPad Safari only 
show the first iscroll. Thanks.

Original comment by rcr.m...@gmail.com on 25 Jun 2011 at 4:26