Skip to content

Conversation

@kopepasah
Copy link
Member

This fixes #376 and I can confirm behavior is as expected.

Props @aduth

Copy link
Contributor

@youknowriad youknowriad left a comment

Choose a reason for hiding this comment

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

Great job 👍 Tks

@mtias mtias added Framework Issues related to broader framework topics, especially as it relates to javascript [Type] Enhancement A suggestion for improvement. labels May 1, 2017
BE-Webdesign added a commit that referenced this pull request May 2, 2017
Along with #582 this will cover #376.  This adds the click outside
higher order component to the block switcher menu. So that clicks into
block content will close the menu while it is open.

**Testing instructions:**

Go to a heading or text block.  Open the block switcher menu in the top
left.  Click on that blocks text content outside of the menu.  Verify
that the menu closes.  Repeat this by clicking anywhere and verifying
that the switcher closes.  Verify that the switcher still works by
clicking on it.
@nylen nylen merged commit 6344d46 into master May 2, 2017
@nylen nylen deleted the add/376-dismiss-switcher-alt branch May 2, 2017 23:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Framework Issues related to broader framework topics, especially as it relates to javascript [Type] Enhancement A suggestion for improvement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Click outside to dismiss mode switcher, inserter overlays

6 participants