Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49087

How to detect gestures inside an iframe using ionic on-touch or $ionicGesture?

$
0
0

@rdiamond wrote:

I have an iframe in my app. How can I detect gestures inside the iframe? I can detect gestures on the borders of content that contains the iframe using

"ion-content scroll="true" overflow-scroll="true" on-touch="onTouch()"...

but I can't detect gestures such as tap on the elements inside the iframe! Also tried

"iframe ng-src={{iframeSrc}} height="600px" width="320px" frameborder="0" margin: 0 auto; display: block; overflow:hidden;" scrolling="no" on-touch="onTouch()" ...

In the pen below you can see that tapping on the red area works find but tapping on the iframe you don't get any response.
but it doesn't work! Any idea?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 49087

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>