From 016979166bd222b44579ded08454a2995230d8f2 Mon Sep 17 00:00:00 2001 From: Ivan Starkov Date: Wed, 12 Mar 2025 18:16:32 +0500 Subject: [PATCH] experimental: Fix various issues with animation subtree changes (#4986) ## Description - Use mutation observer on AnimateText to check subtree changes. - Add last resort animation restart - unpin/pin animation. ## Steps for reproduction 1. click button 2. expect xyz ## Code Review - [ ] hi @kof, I need you to do - conceptual review (architecture, feature-correctness) - detailed review (read every line) - test it on preview ## Before requesting a review - [ ] made a self-review - [ ] added inline comments where things may be not obvious (the "why", not "what") ## Before merging - [ ] tested locally and on preview environment (preview dev login: 0000) - [ ] updated [test cases](https://github.com/webstudio-is/webstudio/blob/main/apps/builder/docs/test-cases.md) document - [ ] added tests - [ ] if any new env variables are added, added them to `.env` file --- packages/sdk-components-animation/private-src | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/sdk-components-animation/private-src b/packages/sdk-components-animation/private-src index ff79e1b3bc..0d0d279075 160000 --- a/packages/sdk-components-animation/private-src +++ b/packages/sdk-components-animation/private-src @@ -1 +1 @@ -Subproject commit ff79e1b3bc71779aa69476d20d77ae5cdb696a67 +Subproject commit 0d0d2790759ac01df3c9104d4e0e34f4a09ddab7