How do you implement the dropdown in react? #1671
-
Hello, still a noob here in react. maybe someone here could help me. is there a proper way of implementing the dropdown in react the correct way. as of now i followed the documentation where i added the dropdown inside a useEffect. but for some reason whenever i click on the button that has a dropdown. it does not work. i tried clicking it multiple times and it shows a glimpse of the dropdown. so now i'm stuck and i can't figure out why it won't work, or did i miss something from the documentation? anyways any help is appreciated. here is the code maybe you guys can find something.
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
Did you solve this issue? |
Beta Was this translation helpful? Give feedback.
-
I have the same/similar issue, and same initialization with useEffect(() => { although sidebarnav works. I used above in a subcomponent in react |
Beta Was this translation helpful? Give feedback.
-
Hi, there seems to be an issue with
Sorry for the inconvenience. |
Beta Was this translation helpful? Give feedback.
Hi, there seems to be an issue with
initTE
not receiving a list of already initiated components. We will have to fix this. For now you can try to make sure that the method was called only once, for example:Sorry for the inconvenience.