mirror of
https://github.com/webstudio-is/webstudio.git
synced 2026-11-08 21:15:18 +09:00
## Description https://discord.com/channels/955905230107738152/1098959267396059228 There were two bugs: 1. Same as in https://github.com/webstudio-is/webstudio-builder/pull/1483 setState didn't work correctly after React update 2. Scrub used to call `onStatusChange("idle")` at unmount (now fixed). We use scrub for canvas resize, and restore pointer events when status changes to "idle". But we also unmount scrub on DnD start. So on DnD start we ended up with pointer events turned on. ## Steps for reproduction 1. DnD of components to canvas should work well now