Releases: jcoreio/material-ui-popup-state
Releases · jcoreio/material-ui-popup-state
v5.0.4
v5.0.3
v5.0.2
v5.0.1
v5.0.0
v4.1.0
v4.0.2
v4.0.1
v4.0.0
4.0.0 (2022-07-02)
Bug Fixes
BREAKING CHANGES
- The position of
<Menu {...bindMenu(popupState)}>
and<Popover {...bindPopover(popupState)}>
has changed if you are
usingbindContextMenu
. Before, they would be positioned to the
event target element (usinganchorEl
). Now they will be positioned
to the event location (usinganchorPosition
).
To restore the previous behavior, pass anchorReference="anchorEl"
after
bindMenu
/bindPopover
. For example, <Menu {...bindMenu(popupState)} anchorReference="anchorEl">
.