I just encountered this error, and it only happens on a single screen. Everything was working fine... until I created a button. By default, the button was created with the Spanish name "Botón1." I renamed it to "Button1," and when I switched to the Blocks screen to configure the "On Click" event, that error appeared—and it now appears for any other component where I attempt to configure an event.
Technical Data to be Submitted: notes = Browser: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36 foundIn = nb204 faultData = com.google.gwt.core.client.JavaScriptException: (TypeError) : Cannot read properties of undefined (reading 'Y') projectId = xxxxx
I don't know what's going on, but now when I run the project, I get the error "Invalid dimension size: 0" on a screen that contains a Switch component—which isn't displaying. Do you know anything about this?
The proposed fix is now on ai2-test.appinventor.mit.edu. It requires loading the test companion from that server and/or compiling your apps there until we push it to the production servers.