-
-
Notifications
You must be signed in to change notification settings - Fork 7k
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] "display: inline-block" CSS property on <v-menu> component #3645
Comments
Probably not, that's only really needed if it has an activator. |
Use full-width prop if you don't want the |
@ebisbe well, how is it not a bug? The context menu is not supposed to occupy any space on the page. Wouldn't you agree? See the codepen. I'm not sure how are people supposed to know they should use |
@AlexSHoffman if you read my PR that has been closed you'll find the explanation. If it's not a bug then the documentation should be updated to explain this styling behaviour. |
@ebisbe yeah, I agree it's not really a "bug" in itself, but it's just confusing. Either the description of |
We are removing activator elements in the near future so this wont matter. |
The bug is that it should only have the inline style if the activator slot is used. |
Oh well sure, that's valid. Should be an easy PR if anyone is feeling 🐸 froggy |
I'll try it
On Tue, Jul 10, 2018, 18:46 John Leider ***@***.***> wrote:
Oh well sure, that's valid. Should be an easy PR if anyone is feeling 🐸
froggy
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#3645 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AGb3OodunKTaiuBJj9NztnLQoalY5OjIks5uFNpigaJpZM4S20vh>
.
--
Enric Bisbe Gil
|
Versions and Environment
Vuetify: 1.0.1
Vue: 2.5.16
Browsers: Chrome 65.0.3325.162
OS: Windows 10
Steps to reproduce
Un-comment the
v-menu
component in the codepen to see how it affects the element below itExpected Behavior
Is there a particular reason why an invisible component needs
display: inline-block;
which affects visible components on the page?Actual Behavior
<v-menu>
component hasdisplay: inline-block;
which moves all the elements below it when you add it on the page.Reproduction Link
https://codepen.io/anon/pen/WzjoGz
The text was updated successfully, but these errors were encountered: