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

navbar has-dropdown #1712

Closed
dan-lettusgrow opened this issue Aug 29, 2019 · 6 comments
Closed

navbar has-dropdown #1712

dan-lettusgrow opened this issue Aug 29, 2019 · 6 comments

Comments

@dan-lettusgrow
Copy link

Hi,

I've been trying to migrate from the old bulma navbar to the new buefy component in 0.8, but have been struggling to reimplement menu dropdowns similar to those in the bulma docs, as seen on https://bulma.io/documentation/components/navbar/ with the hoverable more entry.

The fact that the buefy docs don't show one like the bulma makes me suspect that this isn't implemented yet - is this the case or am I simply not implementing it correctly?

@service-paradis
Copy link
Collaborator

You can add your own hoverabke dropdown into a navbar-item. Something like this should work:
https://codepen.io/service-paradis/pen/MWgoGYo

@dan-lettusgrow
Copy link
Author

dan-lettusgrow commented Aug 29, 2019

Thanks for the code sample! While this combined with the bulma css makes for a good experience on desktop, it falls apart once the hamburger menu is taken into account - it behaves exactly the same, where preferrably you'd have more of a menu style situation, which is what happens with the bulma version component.

@service-paradis
Copy link
Collaborator

By adding class="has-dropdown is-hoverable" to the navbar-item, the look is better. But you are right that this is not exactly the same as Bulma.

@jtommy jtommy closed this as completed in 79589a8 Aug 31, 2019
@hoquangthaiholy
Copy link

Screen Shot 2019-09-11 at 8 35 23 PM (2)
I also got a problem with navbar dropdown position. In this case, right menu :(

@hoquangthaiholy
Copy link

I found in source code. This component support right/boxed but it's not mentioned in document. Solved, Thanks.

@jtommy
Copy link
Member

jtommy commented Sep 11, 2019

@hoquangthaiholy You have to wait the next release

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants