react-component/menu

inline menu item still active when selected change [version 9.x]

Closed this issue · 4 comments

QQ图片20210917111610

some menu item or sub menu item may remain active when i swith the menu from one to another.
it doesn't hanppen when use version 8.x

For anyone else having this error, the bug that is happening is that when we hover a menu item and it opens a new one, both of them cannot be closed by hovering out or clicking outside the component.

I had the same issue and had to install an earlier version for it to work, which is 8.10.8.

I noticed that even by using the single-menu example code, the bug still persisted and I had to rollback to the earlier version above.

feibi commented

Just like you

Same problem here. Had to reverse to 8.10.8 version as well.

I'm thinking about switching libraries, since this has not been fixed in 8 month now, while multiple 9.X versions have been released.

Haven't found an easy fix for this either. Sad :(

Added a work-around in #437, if that is helpful.