Christopher Allen
b9b40f48ab
fix: Fix bug in BlockSvg.prototype.setParent ( #8934 )
...
* test(BlockSvg): Add tests for setParent(null) when dragging
Add tests for scenarios where block(s) unrelated to the block
being disconnected has/have been marked as as being dragged.
Due to a bug in BlockSvg.prototype.setParent, one of these
fails in the case that the dragging block is not a top
block.
Also add a check to assertNonParentAndOrphan to check that the
orphan block's SVG root's parent is the workspace's canvass
(i.e., that orphan is a top-level block in the DOM too).
* fix(BlockSvg): Fix bug in setParent re: dragging block
Fix an incorrect assumption in setParent: the topmost block
whose root SVG element has the blocklyDragging class may not
actually be a top-level block.
* refactor(BlockDragStrategy): Hide connection preview earlier
* chore(BlockDragStrategy): prefer ?. to !.
Per nit on PR #8934 .
* fix(BlockSvg): Spelling: "canvass" -> "canvas"
2025-04-29 15:15:42 +00:00
..
2025-01-06 10:54:33 -08:00
2025-04-21 15:32:45 -07:00
2023-05-10 16:01:39 -07:00
2024-08-15 03:16:14 +01:00
2024-12-02 11:33:05 -08:00
2025-04-29 15:15:42 +00:00
2025-01-06 11:19:23 -08:00
2024-07-16 11:00:32 -07:00
2024-12-04 12:06:12 -08:00
2024-06-17 16:48:21 +01:00
2025-01-31 08:10:33 -08:00
2024-08-15 03:16:14 +01:00
2024-08-15 03:16:14 +01:00
2025-04-21 15:32:45 -07:00
2025-01-08 11:50:18 -08:00
2025-04-25 08:26:58 -07:00
2025-04-21 15:32:45 -07:00
2024-06-17 16:48:21 +01:00
2024-08-15 03:16:14 +01:00
2024-08-20 08:36:33 +01:00
2024-06-17 16:48:21 +01:00
2024-06-17 16:48:21 +01:00
2024-06-17 16:48:21 +01:00
2024-06-17 16:48:21 +01:00
2024-06-17 16:48:21 +01:00
2024-06-17 16:48:21 +01:00
2024-06-17 16:48:21 +01:00
2024-06-17 16:48:21 +01:00
2024-06-17 16:48:21 +01:00
2024-06-17 16:48:21 +01:00
2024-06-26 12:16:56 -07:00
2024-06-17 16:48:21 +01:00
2024-06-26 12:16:56 -07:00
2024-06-17 16:48:21 +01:00
2024-06-17 16:48:21 +01:00
2024-12-02 11:33:05 -08:00
2024-06-17 16:48:21 +01:00
2024-06-17 16:48:21 +01:00
2024-06-17 16:48:21 +01:00
2024-06-17 16:48:21 +01:00
2024-06-17 16:48:21 +01:00
2024-06-17 16:48:21 +01:00
2024-07-29 12:00:52 -07:00
2024-06-17 16:48:21 +01:00
2024-06-17 16:48:21 +01:00
2024-08-15 03:16:14 +01:00
2024-08-15 03:16:14 +01:00
2025-04-15 14:34:38 -07:00
2024-08-15 03:16:14 +01:00
2024-08-15 03:16:14 +01:00
2024-08-15 03:16:14 +01:00
2024-12-02 11:33:05 -08:00
2024-08-15 03:16:14 +01:00
2024-12-02 11:33:05 -08:00
2024-12-04 12:06:12 -08:00
2025-04-07 17:29:00 -07:00
2024-12-04 12:06:12 -08:00
2025-04-22 00:49:52 +00:00
2025-04-21 20:42:28 +00:00
2024-08-15 03:16:14 +01:00
2024-08-20 08:36:33 +01:00
2024-08-15 03:16:14 +01:00
2025-04-21 15:32:45 -07:00
2024-06-17 16:48:21 +01:00
2024-06-17 16:48:21 +01:00
2024-08-20 08:36:33 +01:00
2024-09-24 16:09:41 -07:00
2025-04-15 14:34:38 -07:00
2025-01-30 13:47:36 -08:00
2024-06-17 16:48:21 +01:00
2024-06-17 16:48:21 +01:00
2024-08-15 03:16:14 +01:00
2024-06-17 16:48:21 +01:00
2024-06-17 16:48:21 +01:00
2024-08-15 03:16:14 +01:00
2024-08-22 18:00:22 +00:00
2024-08-15 03:16:14 +01:00
2024-06-17 16:48:21 +01:00
2024-12-03 12:40:48 -08:00
2024-12-02 11:33:05 -08:00
2024-08-20 08:36:33 +01:00
2025-04-21 15:32:45 -07:00
2025-04-25 15:03:32 -07:00
2024-06-17 16:48:21 +01:00
2024-06-17 16:48:21 +01:00
2024-08-20 08:36:33 +01:00
2024-06-17 16:48:21 +01:00
2024-12-04 12:06:12 -08:00
2024-12-02 11:33:05 -08:00
2023-12-08 13:56:28 -08:00
2024-06-17 16:48:21 +01:00
2024-08-15 03:16:14 +01:00
2024-12-06 00:33:58 +00:00
2024-12-03 12:40:48 -08:00
2025-01-08 11:50:18 -08:00
2024-08-20 08:36:33 +01:00