React + Playcanvas (iframe) Scrolling page issue

I have a React app with enough content on a single page to add a scroll bar. I have also added Playcanvas project as an iframe. The problem is I can only scroll the page outside the iframe (as shown in the video below). Is there any way I can enable page scrolling even with iframe?


I have solved this issue. We can mark it as solved.

We need to comment/remove preventDefault from touch events in playcanvas-stable.min.js

1 Like