Skip to content

Commit

Permalink
Enable shift in URLPopover component (#42214)
Browse files Browse the repository at this point in the history
* Enable `shift` in URLPopover component

* update snapshots
  • Loading branch information
ntsekouras authored Jul 7, 2022
1 parent 0e4747d commit 33a9c48
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/block-editor/src/components/url-popover/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ function URLPopover( {
className="block-editor-url-popover"
focusOnMount={ focusOnMount }
position={ position }
__unstableShift
{ ...popoverProps }
>
<div className="block-editor-url-popover__input-container">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

exports[`URLPopover matches the snapshot in its default state 1`] = `
<ForwardRef(Popover)
__unstableShift={true}
className="block-editor-url-popover"
focusOnMount="firstElement"
position="bottom center"
Expand Down Expand Up @@ -38,6 +39,7 @@ exports[`URLPopover matches the snapshot in its default state 1`] = `

exports[`URLPopover matches the snapshot when the settings are toggled open 1`] = `
<ForwardRef(Popover)
__unstableShift={true}
className="block-editor-url-popover"
focusOnMount="firstElement"
position="bottom center"
Expand Down Expand Up @@ -81,6 +83,7 @@ exports[`URLPopover matches the snapshot when the settings are toggled open 1`]

exports[`URLPopover matches the snapshot when there are no settings 1`] = `
<ForwardRef(Popover)
__unstableShift={true}
className="block-editor-url-popover"
focusOnMount="firstElement"
position="bottom center"
Expand Down

0 comments on commit 33a9c48

Please sign in to comment.