Skip to content

Commit

Permalink
Cover: Enable tooltip on resizable box when dragging to resize
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronrobertshaw committed Jul 29, 2022
1 parent e3136a4 commit be0401e
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 be0401e

Please sign in to comment.