You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-**browser**: Mozilla Firefox 91.0.1
-**equal**: 0.79.3
-**vue**: 3.1.4
Current Behavior
The dropdown (it-dropdown) component is appearing open always, whether you're hovering, clicking or none of them. It even gets weirder when I try to use Vue's shorter version for slot="menu", #menu, which makes the whole component break.
It first appeared when using it in a flex container, that made me think that the problem could be with the flex display, or maybe with how I had written it. And so I tested the official example both inside the flex container and outside of it, and I still got the same problem.
The dropdown menu links and buttons work flawlessly, just the opening and closing is what is not working. No other component is giving me errors.
For the first case, this is the code and screenshot:
To simply work, as stated in the documentation. I thought I was writing it incorrectly, but the fact that the documentation example doesn't work is just driving me crazy.
Steps To Reproduce
Create a vue app with the version mentioned before (I am using vite)
Install and enable globally equal components.
Personally, I'm also using the Inter font through their NPM package and downloaded Material Icons CSS
Copy and paste the dropdown example in the docs or build your owm
Serve and see
Anything else?
No response
The text was updated successfully, but these errors were encountered:
SOLUTION FOUND
I was so confused by this that I went to the docs Vue pages to see how you got them working, and found out that the docs were wrong. As opposed to the code shown to the user in the docs (shown above), the inner workings or the codes are like this:
Environment
Current Behavior
The dropdown (
it-dropdown
) component is appearing open always, whether you're hovering, clicking or none of them. It even gets weirder when I try to use Vue's shorter version forslot="menu"
,#menu
, which makes the whole component break.It first appeared when using it in a flex container, that made me think that the problem could be with the flex display, or maybe with how I had written it. And so I tested the official example both inside the flex container and outside of it, and I still got the same problem.
The dropdown menu links and buttons work flawlessly, just the opening and closing is what is not working. No other component is giving me errors.
For the first case, this is the code and screenshot:
The second case:
Expected Behavior
To simply work, as stated in the documentation. I thought I was writing it incorrectly, but the fact that the documentation example doesn't work is just driving me crazy.
Steps To Reproduce
Anything else?
No response
The text was updated successfully, but these errors were encountered: