Looking for a simple solution. I want the dropdown to open when hovering over it, rather than clicking on it.
Here is my current code:
<Nav>
<NavDropdown
onMouseEnter = {()=> isOpen=true}
open={isOpen}
noCaret
id="language-switcher-container"
>
<MenuItem>Only one Item</MenuItem>
</NavDropdown>
</Nav>
I tried using onMouseEnter but it didn't work. Can anyone help me solve this issue? What attribute should I pass in to make it work?
You can find more information on the React Bootstrap API page here.