I'm attempting to place a piece I built in C2 into an Adobe DPS document. The game works perfectly, the issue I am having is whenever the user touches/interacts with the game the apps navigation pops up. I was told the following by a rep at Adobe:
According to one of our developers, when you display HTML content in DPS, the viewer looks for elements with handlers such as onclick and ontouchstart or an event listener such as addEventListener. If any of these elements are present, tapping the item should not display the nav bars.
If you dynamitcally set the element.ontouchstart function after the content has loaded, the nav bars will appear when the item is tapped. To suppress the nav bars, one approach is to change the function that applies the handler functions to use addEventListener.
Anyone have quick fix in mind?
Develop games in your browser. Powerful, performant & highly capable.