CYS: Fix DeviceToolbar animation (#50411)
* Wrap device toolbar in motion div * Adds changelog
This commit is contained in:
parent
bd41bd34f6
commit
f01e945204
|
@ -218,11 +218,16 @@ export const Layout = () => {
|
|||
{ ! isMobileViewport && (
|
||||
<div className="edit-site-layout__canvas-container">
|
||||
{ isFullComposabilityFeatureAndAPIAvailable() && (
|
||||
<DeviceToolbar
|
||||
isEditorLoading={
|
||||
isEditorLoading
|
||||
}
|
||||
/>
|
||||
<motion.div
|
||||
initial={ false }
|
||||
layout="position"
|
||||
>
|
||||
<DeviceToolbar
|
||||
isEditorLoading={
|
||||
isEditorLoading
|
||||
}
|
||||
/>
|
||||
</motion.div>
|
||||
) }
|
||||
{ canvasResizer }
|
||||
{ !! canvasSize.width && (
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
Significance: patch
|
||||
Type: fix
|
||||
|
||||
Fix animation of devicetoolbar
|
Loading…
Reference in New Issue