Vuetify: v-toolbar-side-icon doesn't work with hidden-sm-and-up class and @click.native.stop does not work anymore

Created on 13 Aug 2017  路  9Comments  路  Source: vuetifyjs/vuetify

Steps to reproduce

When using v-toolbar-side-icon with hidden-sm-and-up class - icon does not get hidden when screen size is sm.
@click.native.stop doesn't work as well. @click.stop works.

Versions

0.14.10

What is expected ?

hidden-sm-and-up work with v-toolbar-side-icon

What is actually happening ?

Not working

Reproduction Link

https://codepen.io/anon/pen/PKKXYL

bug

Most helpful comment

since v-toolbar-side-icon is just eating the class, you can wrap v-toolbar-side-icon in a span and apply the class to the span instead to get around this bug atm.

All 9 comments

You don't need the .native modifier anymore thanks to a recent Vue update

Thank you

same here, had this fixed ?
update: in vuetify 0.14.0 this not happend, but when upgrade to 0.14.11 this not show exactly !

It has not been released yet.

When it will be fixed?

since v-toolbar-side-icon is just eating the class, you can wrap v-toolbar-side-icon in a span and apply the class to the span instead to get around this bug atm.

wrapping the v-toolbar-side-icon with span worked for me. this is probably fine for now.

<span class="hidden-sm-and-up"> <v-toolbar-side-icon> </v-toolbar-side-icon> </span>

the trick worked! thanks.

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. Please direct any non-bug questions to our Discord

Was this page helpful?
0 / 5 - 0 ratings