Skip to content
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

[Bug Report] v-tooltip inside v-card-actions breaks layout of block v-btn #3386

Closed
Toilal opened this issue Feb 25, 2018 · 5 comments
Closed
Labels
T: feature A new feature

Comments

@Toilal
Copy link
Contributor

Toilal commented Feb 25, 2018

Versions and Environment

Vuetify: 1.0.3
Vue: 2.5.13
Browsers: Chrome 64.0.3282.167
OS: Linux x86_64

Steps to reproduce

Have a look to the reproduction link

Expected Behavior

Inside v-card-actions, a v-btn with block attribute inside v-tooltip should grow full width, like the one without tooltip.

Actual Behavior

Inside v-card-actions, a v-btn with block attribute inside v-tooltip doesn't grow full width, block attribute has no effect.

Reproduction Link

https://codepen.io/Toilal/pen/wyYamb

@Toilal
Copy link
Contributor Author

Toilal commented Feb 25, 2018

This can workaround the issue

<style scoped lang="scss">
.card__actions >>> .tooltip {
  flex: 1 1 auto;

  > span {
    flex: 1 1 auto
  }
}
</style>

@chewy94 chewy94 added the T: bug Functionality that does not work as intended/expected label Feb 25, 2018
@johnleider
Copy link
Member

Due to how flex box works, and that there is no way for v-tooltip to understand that it should be full width, you will have to use a work-around until we remove the need for an element with v-tooltip.

https://codepen.io/johnjleider/pen/jZQPbd

@johnleider johnleider added T: feature A new feature and removed T: bug Functionality that does not work as intended/expected labels Feb 26, 2018
@Toilal
Copy link
Contributor Author

Toilal commented Feb 26, 2018

Tooltip hell 🔥 !

Thanks for quick response and keep the good job, this library is awesome !

Awesome

@KaelWD
Copy link
Member

KaelWD commented Feb 27, 2018

This will eventually be fixed by #3206 if you want something to follow.

@lock
Copy link

lock bot commented Apr 14, 2019

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

@lock lock bot locked as resolved and limited conversation to collaborators Apr 14, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
T: feature A new feature
Projects
None yet
Development

No branches or pull requests

4 participants