Open narqo opened 8 years ago
We need somehow store hoveredIndex in the state, so it works properly in cases where the content of Menu is dynamic. Currently, we use a position of an Item, which is not persistent.
hoveredIndex
Menu
Item
We need somehow store
hoveredIndex
in the state, so it works properly in cases where the content ofMenu
is dynamic. Currently, we use a position of anItem
, which is not persistent.