Files
blockly/core
Beka Westberg c2919c51bd fix: improve performance of connecting blocks (#6876)
* fix: early return from updateDisabled if it is noop

* chore: trigger connect and disconnect before hiding

* chore: remove disconnectInternal

* fix: skip setting parent when disconnecting before connecting

* chore: fixup docs

* chore: remove erroneous test

* fix: add delay to context menu callback.

Improve INP by allowing the browser to do a paint (closing the context
menu) before we trigger callbacks. This improves the user experience
for expensive callbacks (e.g. collapsing, or updating disabled).

* fix: rendering bug

When disconnecting the last block in the stack, the block would not be
rerendered correctly (the top-start corner would not be reshaped)

* fix: connecting bug

The order for applying connections was changed so that connections were
applied and then the insertion marker was hidden. This caused an error
because hiding the insertion marker expected there to be a child block
when there was not.

* chore: remove setParent param from public API

* chore: tsdoc
2023-03-16 13:40:33 -07:00
..
2023-03-15 13:12:36 -07:00
2023-02-06 10:08:55 -08:00
2023-02-06 10:08:55 -08:00
2023-02-06 10:08:55 -08:00
2023-02-06 10:08:55 -08:00
2023-02-06 10:08:55 -08:00
2023-02-06 10:08:55 -08:00
2023-02-06 10:08:55 -08:00