CYS: Fix DeviceToolbar animation (#50411)

* Wrap device toolbar in motion div

* Adds changelog
This commit is contained in:
Tom Cafferkey 2024-08-06 15:27:55 +01:00 committed by GitHub
parent bd41bd34f6
commit f01e945204
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 14 additions and 5 deletions

View File

@ -218,11 +218,16 @@ export const Layout = () => {
{ ! isMobileViewport && (
<div className="edit-site-layout__canvas-container">
{ isFullComposabilityFeatureAndAPIAvailable() && (
<motion.div
initial={ false }
layout="position"
>
<DeviceToolbar
isEditorLoading={
isEditorLoading
}
/>
</motion.div>
) }
{ canvasResizer }
{ !! canvasSize.width && (

View File

@ -0,0 +1,4 @@
Significance: patch
Type: fix
Fix animation of devicetoolbar