iFrame滚动不适用于iOS设备
问题描述:
我的响应站点由于iFrame而具有issue of scrolling
.
I have responsive site which have an issue of scrolling
because of iFrame.
# Problem
> Open site in iPhone in any browser
> list of images and video display
> Try to scroll down then it's work while images but when video then scrolling not worked because of video display in iFrame and iOS device not allow to scroll on `iFrame`.
iOS设备是否有CSS技巧或任何特定问题?
Is there any CSS trick or any particular issue with iOS devices?
它是not work in iPhone / iPad.
NOTE: I do not want to scroll into iFrame but page scroll not working when touch on iFrame and try to page down. Got it?
让我知道是否有人解决此问题或任何技巧.
Let me know if any one sort this issue or any trick.
谢谢
答
尝试
.iframe-container {
overflow:scroll !important; -webkit-overflow-scrolling:touch !important;
}