Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Edo_F_
Beginner
84 Views

iOS iframe always go top

how can i fix this ? i build app framework with tab control and add iframe , ( because i dont know how to embed webview + tab control)

(eg) tab1 : iframe youtube , BUT , in iOS this scroll always error , like going to top or another , and in android works like a charm ..

 

*sorry if my english bad ..

Tags (2)
0 Kudos
4 Replies
Amrita_C_Intel
Employee
84 Views

I recommend placing your iframe within a DIV element with overflow attributes set. For more information, visit http://davidwalsh.name/scroll-iframes-ios. This applies to iOS and Android.

Edo_F_
Beginner
84 Views

i've tried that all from google include from that website , but no one can fix i guess, sometime i can scroll without problem , but if i try to press some button at bottom, i go to top page again ..

Gary_M_2
Beginner
84 Views

Hi,

Did you find a fix for this? I am getting the same bug on my iframe on ios.  It actually happens when you click a button in the iframe. Links work fine but buttons do not. 

https://vimeo.com/182864960

 

PaulF_IntelCorp
Employee
84 Views

Gary -- I recommend you search StackOverflow for something like "iframe ios cordova problems" to find solutions.

The XDK has no bearing on how your HTML5 code renders (including iframes). The rendering behavior of your app is 100% dependent on the device and the webview in that device, the XDK has no control over this.

Reply