mirror of
https://github.com/mattermost/mattermost.git
synced 2026-08-28 18:19:38 +08:00
9127a7d9b9
* Update RB to latest version of fork * Update most snapshots to remove extraneous div * Forward ref to menu passed to RB Dropdown * Update unusual tests broken by RB update * Patch react-overlays to still close modal when default prevented The old version of react-overlays that we had ignored this, but the newer version causes the modal to not close when preventDefault is called on the escape keyboard event. React Select always does that and some other components like the SuggestionBox sometimes prevent default, and it doesn't seem like Floating UI or MUI look at preventDefault to know whether or not to close the modal, so I think React Overlays is the correct place for this patch. * Remove @types/react-overlays in favour of built-in definitions * Update RB to merged commit