当我从嵌入的iframe开始滚动时,是否可以使用父滚动?目前我正在使用pointer-event: none
,但嵌入的iframe阻止可点击的事件。我也试图操纵其他事件,如touchmove
,但我失败了。请随意回答,并提前感谢!
不能滚动iframe的父页面。但是,您可以考虑使用embed
而不是iframe
。这将给你更多的控制如何滚动的工作。