You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This just bit me and it was a tricky bug to narrow down! Props should never be saved like this in React in a constructor without being updated in lifecycle methods like componentDidUpdate or getDerivedStateFromProps
onSelection is being fed into the manager object on init:
https://github.com/davidtheclark/react-aria-menubutton/blob/master/src/Wrapper.js#L26
If this prop later changes, it does not update in the component.
The text was updated successfully, but these errors were encountered: