Skip to content

Commit

Permalink
Close link ui after insertion
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeremy Jones authored and Jeremy Jones committed Dec 20, 2024
1 parent 18cfff0 commit 01d0e68
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/block-library/src/navigation-link/appender.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ export default function NavigationLinkAppender( { rootClientId } ) {
setIsLinkOpen( false );
} }
onChange={ ( updatedValue ) => {
setIsLinkOpen( false );
updateAttributes( updatedValue, createNewLink );
} }
anchor={ popoverAnchor }
Expand Down

0 comments on commit 01d0e68

Please sign in to comment.