You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 16, 2021. It is now read-only.
An error is thrown when trying to sort the block names alphabetically:
chrome-extension://phacniajokfchdcamjhonkbhlcipplno/inject3.js:1631TypeError: Cannotreadproperty'localeCompare'ofundefinedatchrome-extension://phacniajokfchdcamjhonkbhlcipplno/inject3.js:1999atArray.sort(<anonymous>)
at buildFloatingFilterList (chrome-extension://phacniajokfchdcamjhonkbhlcipplno/inject3.js:1999)
at middleClickWorkspace (chrome-extension://phacniajokfchdcamjhonkbhlcipplno/inject3.js:1870)
at middleClick (chrome-extension://phacniajokfchdcamjhonkbhlcipplno/inject3.js:1887)
at HTMLDocument.eventMouseDown (chrome-extension://phacniajokfchdcamjhonkbhlcipplno/inject3.js:1629)
This is because the custom block's desc property in options is undefined, so it can't call localeCompare on it. I think it's because in getBlockText, desc is uninitialized, and since there are no text fields on the custom block, desc never gets set to a string and remains undefined.
An error is thrown when trying to sort the block names alphabetically:
Scratch3-Dev-Tools/inject3.js
Line 2002 in 4b792e7
This is because the custom block's
descproperty inoptionsis undefined, so it can't calllocaleCompareon it. I think it's because ingetBlockText,descis uninitialized, and since there are no text fields on the custom block,descnever gets set to a string and remains undefined.Scratch3-Dev-Tools/inject3.js
Line 2029 in 4b792e7
Custom extensions that define blocks that are purely inputs also will break the floating input box, which is how this issue was initially encountered