Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't prevent click on ie11 #11

Open
nusson opened this issue Nov 5, 2014 · 1 comment
Open

Can't prevent click on ie11 #11

nusson opened this issue Nov 5, 2014 · 1 comment

Comments

@nusson
Copy link

nusson commented Nov 5, 2014

I have a handler that handle a tap event
and I want to prevent the click to do the action

<a href="http://www.google.ca" title="google" on-click="register:1">click here</a>
<a href="http://www.google.ca" title="google" on-tap="register:1">tap here</a>
<script>
  ractive.on('register', function(event){
    event.original.preventDefault()
    alert('YO');
    return false
  })
</script>

If i use click event, i'm not redirected to google
but I am within the tap event (on ie11)

@lucasmotta
Copy link

I can confirm that on IE9, IE10 and IE11 too. Any thoughts what could be @Rich-Harris?
I'm pretty sure it worked at some point?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants