My favorites | Sign in
Project Home Downloads Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 66: Scrolling not working when content is an IFRAME
2 people starred this issue and may be notified of changes. Back to list
Status:  New
Owner:  ----


 
Reported by chris.go...@gmail.com, Oct 6, 2011
What steps will reproduce the problem?
I have a setup similar to this:
<div id=wrapper style="overflow:hidden;position:absolute;width:900px;height:700px">
  <div id=scroller style="position:relative;width:900px">
    <iframe id=sitecontent src="content.htm" width=900></iframe>
  </div>
</div>
In javascript:
- disable touchmove event on sitecontent frame thru preventDefault method
- call iScroll('scroller')

What is the expected output? What do you see instead?
Cannot scroll the content area with either 1 or 2-finger gesture.

What version of the product are you using? On what operating system?
Have tried with both 3.x and 4.x of iScroll, on iPad with iOS 4.

Please provide any additional information below.
the scroller DIV is positioned relative, not absolute, because when absolute is used the iframe content doesn't appear
I have also tried disabling touchmove at document level, and it made no difference
Oct 6, 2011
#1 chris.go...@gmail.com
oh, a bit more detail:
there is just one IFRAME on the webpage, and the blocks mentioned above pop up overtop of the main content of the page when a link is tapped. that link would contain the URL to be displayed in the popup iframe. URL is on the same domain as the main page.

Powered by Google Project Hosting