Event fires multiple times in web view -- still in 1.2
Still broken in v1.2
Added an event listener to a web view
webview.addEventListener('swipe', function(e) {..code..} );
It works but fires multiple times for each swipe in the simulator.
3 Answers
-
how do you "swipe" in the simulator?
-
Click and drag mouse left or right.
-
Are you able to click in the web view after adding events? I can't get this working.
What I want to do is have the web view be 50 pixels tall.
Then when you click anywhere in the web view, it opens to the full screen.
The problem is when I add any kind of event listener at all, it doesn't let me click links in the web view any more!
webview.addEventListener('touchstart', function(e) { ... code ... } );
After doing this, the web view no longer lets me click links or even shows active highlighting. The event is seemingly not propagating.