Is it possible to use the parent scroll when I start the scroll from the embedded iframe? Currently I'm using pointer-event: none
but the embedded iframe prevents clickable events. I tried also manipulate other events like touchmove
but I failed. Feel free to answer and thank you in advance!
It's not possible to scroll the parent page from an iframe. However, you could consider using embed
instead of iframe
. This will give you more control over how scroll works.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.