floating-vue icon indicating copy to clipboard operation
floating-vue copied to clipboard

Can't apply defaultClass globally

Open mateuswetah opened this issue 4 years ago • 5 comments

Hi @Akryum, thank you for taking care of this amazing plugin!

I am facing issues setting a default class to every tooltip wrapper. Tried a couple of different things but none worked, so I suppose there is something wrong with my code. Could you take a look? Here is a code pen help you:

https://codepen.io/mateuswetah/pen/GRWpBLV

mateuswetah avatar May 11 '21 14:05 mateuswetah

Don't put them under popover if it's for the tooltip

Akryum avatar May 11 '21 14:05 Akryum

Updated! As you can see that was only me trying other options. By adding only the defaultClass option, it still does not get applied and the tooltip wrapper remains with the default class values (tooltip vue-tooltip-theme);

mateuswetah avatar May 11 '21 15:05 mateuswetah

So it's a probably a bug

Akryum avatar May 11 '21 17:05 Akryum

All right, if there is anything that I can do to test any changes, just call me here!

mateuswetah avatar May 11 '21 17:05 mateuswetah

Same problem. On Vue 3, none of the global options apply.

alexshink avatar Jun 22 '21 17:06 alexshink