vuetify icon indicating copy to clipboard operation
vuetify copied to clipboard

[Bug Report] v-btn absolute left right not working

Open anthonykirkham opened this issue 7 years ago • 6 comments

Environment

Vuetify Version: 2.0.0 Last working version: 1.5.16 Vue Version: 2.6.10 Browsers: Chrome 75.0.3770.142 OS: Windows 10

Steps to reproduce

Apply the 'absolute' and 'right' props to a v-btn element

Expected Behavior

When applying 'absolute' and 'right' props the v-btn it positions absolutely to the right in a supported component; eg: v-card-title

Actual Behavior

v-btn will be placed absolutely, however not positioned.

Reproduction Link

https://codepen.io/anthonykirkham/pen/oKxBvV

anthonykirkham avatar Jul 24 '19 05:07 anthonykirkham

same issue for me, it seems the right: 16px; is only applied if the button has v-btn--fab class present. Should probably be in the docs for buttons

louis-morgan avatar Jul 24 '19 15:07 louis-morgan

Cool, the classes all look to be getting applied to the component property, just that the positioning classes don't exist as they did previously in the stylesheet.

anthonykirkham avatar Jul 24 '19 22:07 anthonykirkham

As an update, it appears all positioning props don't have an associated css class; top, right, bottom, left.

anthonykirkham avatar Jul 24 '19 23:07 anthonykirkham

Yeah I found that too, I've had to use custom css, quite annoying really, thought it was an adequate feature for a button

louis-morgan avatar Jul 26 '19 10:07 louis-morgan

Has this been done on purpose, or is a bug that will be fixed in the near future? I'm having issues too with this after migrating to Vuetify 2.0

lorro avatar Jul 26 '19 11:07 lorro

It's easily fixed with a few classes, I've just done so until this ticket closes.

anthonykirkham avatar Jul 26 '19 11:07 anthonykirkham