iframe scroll is not working when tested on iOS. Scroll is working on Android devices.
Asked
Active
Viewed 540 times
1 Answers
0
-
will not work for me - iframes are in another iframes and I can change only parent DOM/CSS/JS – Timofej Ivajkin Jun 28 '17 at 08:00
-
did you try it with jquery? see this [link](https://stackoverflow.com/a/9490948/1534329) – Martin Jun 28 '17 at 10:26
-
Tried but failed. See example here: https://live-ssl.spongecell.com/zipped_animation/assets/1629852/original/17-04-an-formulary-coverage-300x250-final/17-04-an-formulary-coverage-300x250-final.html?wrxzyy89 (wait to text at bottom to show up). – Timofej Ivajkin Jun 28 '17 at 13:10
-
Tried this for example: ```$(function(){ if (/iPhone|iPod|iPad/.test(navigator.userAgent)) $('iframe').wrap(function(){ var $this = $(this); return $('').css({ width: $this.attr('width'), height: $this.attr('height'), overflow: 'auto', '-webkit-overflow-scrolling': 'touch' }); }); })``` - like here https://jsfiddle.net/rq7yc4to/1/ – Timofej Ivajkin Jun 28 '17 at 13:11
-
@TimofejIvajkin did you find a way to change the content? – Martin Jul 20 '17 at 10:30