When adding an xobject in the object editor, it is automatically expanded to allow editing its value right away. It's apparently not the case in the class editor: new properties are automatically collapsed. See the attached gif.
I propose that we have the same consistent behaviour e.g. to always expand the newly added xobject or xproperty.