Skip to content

Commit

Permalink
navigation-menu-item: ensuring hide popover once it closes
Browse files Browse the repository at this point in the history
  • Loading branch information
retrofox committed Oct 28, 2019
1 parent 257c1d6 commit f8f1290
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/block-library/src/navigation-menu-item/edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ function NavigationMenuItemEdit( {
onKeyPress={ ( event ) => event.stopPropagation() }
currentLink={ link }
onLinkChange={ updateLink }
onClose={ () => setIsLinkOpen( false ) }
currentSettings={ linkSettings }
onSettingsChange={ updateLinkSetting }
fetchSearchSuggestions={ fetchSearchSuggestions }
Expand Down

0 comments on commit f8f1290

Please sign in to comment.