Releases: szhsin/react-menu
Releases · szhsin/react-menu
v0.11.1
Fix a bug causing loss of hovering state in FocusableItem.
v0.11.0
Add positioning related props:
• position: controls the position of menu related to its anchor element.
• overflow: makes the menu list scrollable when there is not enough viewport space to display all menu items.
• viewScroll: controls the behaviour of menu and any of its descendent submenus when window is scrolling.
v0.10.8
• Add menu alignment support for left and right direction.
• Close a menu when window is resized.
v0.10.6
• Add className and styles props for menu arrow.
• Use itemClassName and itemStyles for submenu item styling.
v0.10.5
Allow menu to display an arrow that points towards its anchor element.
v0.10.4
• Add offset props that set offset distance between menu and its anchor element.
• Fix bugs that can position menu off screen.
v0.10.3
Add prefix to css keyframes to avoid possible naming conflict with cl…
…ient code
v0.10.0
New feature:
Add FocusableItem: allows focusable components (e.g. input, button) in a menu item.
v0.9.2
Fix a bug causing nav bar to float out of fixed position on iOS devices