Skip to content
This repository has been archived by the owner on Mar 13, 2024. It is now read-only.

MM-14896 Add rootCapture=true to MenuWrapper listeners #2620

Merged
merged 2 commits into from
Apr 10, 2019
Merged

Conversation

hmhealey
Copy link
Member

@hmhealey hmhealey commented Apr 5, 2019

This is based on react-overlay's RootCloseWrapper which sets it so that we check if the menu needs to close before handling any other event handlers which may unmount the menu.

https://github.com/react-bootstrap/react-overlays/blob/master/src/RootCloseWrapper.js#L57

Ticket Link

https://mattermost.atlassian.net/browse/MM-14896

@hmhealey hmhealey added 2: Dev Review Requires review by a core commiter CherryPick/Approved Meant for the quality or patch release tracked in the milestone labels Apr 5, 2019
@hmhealey hmhealey added this to the v5.10.0 milestone Apr 5, 2019
@hmhealey hmhealey requested review from jespino and mkraft April 5, 2019 19:09
Copy link
Member

@jespino jespino left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jespino jespino added 4: Reviews Complete All reviewers have approved the pull request and removed 2: Dev Review Requires review by a core commiter labels Apr 8, 2019
@hmhealey hmhealey closed this Apr 10, 2019
@hmhealey hmhealey reopened this Apr 10, 2019
@hmhealey hmhealey merged commit 52ca207 into master Apr 10, 2019
@hmhealey hmhealey deleted the mm14896 branch April 10, 2019 14:35
@hmhealey hmhealey added CherryPick/Done Successfully cherry-picked to the quality or patch release tracked in the milestone and removed CherryPick/Approved Meant for the quality or patch release tracked in the milestone labels Apr 10, 2019
@amyblais amyblais added Changelog/Not Needed Does not require a changelog entry Docs/Not Needed Does not require documentation labels Apr 10, 2019
@DHaussermann DHaussermann added the Tests/Done Release tests have been written label Apr 12, 2019
TranMacTien pushed a commit to Designveloper/mattermost-webapp that referenced this pull request Jun 13, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
4: Reviews Complete All reviewers have approved the pull request Changelog/Not Needed Does not require a changelog entry CherryPick/Done Successfully cherry-picked to the quality or patch release tracked in the milestone Docs/Not Needed Does not require documentation Tests/Done Release tests have been written
Projects
None yet
5 participants