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
md-button @click do not work #532
Comments
@click.native will work |
@marcosmoura, I noticed a lot about this issue. It may be necessary to add the solution in the documentation? As an example of one of? |
@cawa-93 its not issue but on components needs to be click with native |
Thanks! |
In my case, |
Why it's not working? ".native" in Vue documentation explained as, "There may be times when you want to listen for a native event on the root element of a component. In these cases, you can use the .native modifier for v-on." However, vue-material using .native. It's a bit awkward though. Isn't it a vue- extension? |
@flamedenise its weird because |
Using @click.native="$router.push('/homescreen')" with router-link tag I cannot visualize the button on a sidenav, anyone had the same problem? |
@Chusynuk use without router link
|
This is the complete tag tag="md-button" :to="{ path: './Requests' }" class="md-primary" if I add the tag="md-button" I can visualize the button, but I doesn't work |
This appears to be a breaking change, as it used to work OK (see https://www.youtube.com/watch?v=1j8xTOmR8pw). |
It's because of the ink ripple component. The default behaviour comes back when you disable it:
|
Then, there should be a fix for it, right? |
@enesunal That would be nice, but this was noted as a breaking change in v0.7.0
|
I recently started to use vue-material and i believe using @change should work fine, i used that on my md-checkbox and its cool, cheers! |
I'm trying this code
http://jsbin.com/hejulu/edit?html,js,output
What is wrong with my code?
The text was updated successfully, but these errors were encountered: