Fix resizer handler bar style and position
This commit is contained in:
parent
061f63abd9
commit
14e37229a5
|
@ -158,7 +158,7 @@ export const OnboardingTour = ( {
|
|||
[ key: string ]: unknown;
|
||||
} ) => {
|
||||
if ( placement === 'left' ) {
|
||||
return [ -15, 35 ];
|
||||
return [ 0, 25 ];
|
||||
}
|
||||
return [ 52, 16 ];
|
||||
},
|
||||
|
|
|
@ -189,12 +189,10 @@ function ResizableFrame( {
|
|||
},
|
||||
};
|
||||
const currentResizeHandleVariant = ( () => {
|
||||
if ( isResizing ) {
|
||||
if ( isResizing || isHandleVisibleByDefault ) {
|
||||
return 'active';
|
||||
}
|
||||
return shouldShowHandle || isHandleVisibleByDefault
|
||||
? 'visible'
|
||||
: 'hidden';
|
||||
return shouldShowHandle ? 'visible' : 'hidden';
|
||||
} )();
|
||||
|
||||
const resizeHandler = (
|
||||
|
|
Loading…
Reference in New Issue