Vuetify: [Feature Request] Floating action buttons with optional text

Created on 27 Feb 2018  路  10Comments  路  Source: vuetifyjs/vuetify

New Functionality

It will allow for more robust floating action buttons for actions that need more description than just a icon can provide.

Improvements

n/a

Bugs or Edge Cases it Helps Avoid

n/a

speeddial_helper_text

VBtn enhancement

Most helpful comment

That's because of the animation. You can get around it by using a fade transition instead, or doing some janky timeouts: https://codepen.io/anon/pen/aqQKwN?editors=1010

All 10 comments

tooltips with :value="true"?

Good idea, didn't think to try that! It looks like the tooltip doesn't line up though when doing this inside a speed dial. I might be doing something wrong though.

https://codepen.io/mcfarljw/pen/VQVQap

@mcfarljw The tooltips position when they are created and still moving. If you create a small delay before they show they will position fine.

That's because of the animation. You can get around it by using a fade transition instead, or doing some janky timeouts: https://codepen.io/anon/pen/aqQKwN?editors=1010

Thanks! This is definitely a sufficient work around for the time being.

With the tooltips overlaying on the page, by default, they have a tinted background. But depending on what is behind the tooltip, this little overlay can clutter the page and be a bit hard to read.

I'd like to suggest that when the speed dial opens, the entire page gets this tinted overlay, kind of like a modal, (instead of just the size of each individual tooltip) so that way the text of the tooltip for each button really pops and is easy to read.

Is there a way to accomplish this?

@KaelWD How is this supposed to work if you have an absolutely positioned floating button? The tooltips are not shown anymore once you add fixed or absolute to v-speed-dial.

What's the progress on this feature?
I wasn't able to find the specs for this, but there's an example of labels in a speed dial component.
image
https://material.io/components/buttons-floating-action-button#types-of-transitions

I've made a custom text label.

Here's my example: https://codepen.io/joaofbvieira/pen/dyGoELN

I hope that they implement this option into Vuetify. Until then, we make workarounds, lol.

Cheers.

@joaofbvieira Seems like your missing a few things in that codepen? FWIW your work around does work, so I appreciate you sharing it!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jofftiquez picture jofftiquez  路  3Comments

milleraa picture milleraa  路  3Comments

itanka9 picture itanka9  路  3Comments

paladin2005 picture paladin2005  路  3Comments

aaronjpitts picture aaronjpitts  路  3Comments