I want to add a login component (standard component with three children) to the editor and let it take focus in case no login information is stored on the computer, yet.
I create the component and add it to the editor, but when I call “enterModalState”, an assertion is triggered, because the component can’t get the focus, because the editor is not finished, yet.
If I pass as the first parameter “false”, the component shows, but it’s not modal at all. I can clearly click other components (that are not children of my login component) and interact with them.
Is there some kind of callback I can use, that let’s my editor know that everything is finished and the window is now visible etc. so I can enter the modal state from there?
Even with passing “false”, shouldn’t the component still be modal and prevent other components from receiving any mouse-clicks etc.?