microsoft / pxt-microbit

A Blocks / JavaScript code editor for the micro:bit built on Microsoft MakeCode
https://makecode.microbit.org
Other
727 stars 638 forks source link

Garbage alse Block when extending if then else if #6006

Open MKleinSB opened 3 weeks ago

MKleinSB commented 3 weeks ago

Describe the bug If you use an double extended else if statement with boolean expression filled in, undraggable/undeletable else appear

To Reproduce

build the following: Image

klick on + and drag the on start block away. You will see that behind it an undraggable False appear. Image

Windows 11 with actual Edge and Firefox

martinwork commented 3 weeks ago

Related: https://github.com/microsoft/pxt-microbit/issues/5984 It seems fixed in beta. As a workaround, refreshing the page makes the unwanted block draggable.

riknoll commented 2 weeks ago

yup, i already made a fix for this!

i'll make sure this makes it into the next hotfix we release. for now i'll leave the issue open to prevent further duplicates.