Problem getting Menu vertical with SubMenu to work like the docs. #954
rhscjohn-dev
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm playing around with the component Menu(vertical with SubMenu) example and was having problems with the SubMenu. It was either not showing at all or was shoved to the extreme right of the screen.
After playing around in tailwindPlay I was able to get the SubMenu to behave like it does in the docs.
Here is the tailwindPlay showing the before and after. The fix is to add a twailwind class 'w-fit' to the first
tag. (See line 18.)
Not sure is this is a bug or something pertaining to how the example is run in the docs.
Beta Was this translation helpful? Give feedback.
All reactions