Skip to content

Commit

Permalink
Cover: Enable tooltip on resizable box when dragging to resize (#23522)
Browse files Browse the repository at this point in the history
Co-authored-by: Aaron Robertshaw <[email protected]>
  • Loading branch information
Q and aaronrobertshaw authored Jul 29, 2022
1 parent 7a85f3b commit 13e3cac
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/block-library/src/cover/edit/resizable-cover.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,12 @@ export default function ResizableCover( {
onResizeStop( elt.clientHeight );
setIsResizing( false );
} }
__experimentalShowTooltip
__experimentalTooltipProps={ {
axis: 'y',
position: 'bottom',
isVisible: isResizing,
} }
{ ...props }
/>
);
Expand Down

0 comments on commit 13e3cac

Please sign in to comment.