I'm having a problem with a Blockly workspace inside a Bootstrap modal.
Everything seems to work fine, but I cannot type in the inputs that I drag into the workspace.
If you look at the attached image, I'm trying to type into the highlighted block, but that doesn't work.
I had a problem previously where the workspace would not show if rendered inside a collapsed div. I fixed this by adding an event which fires when Step Formulas is clicked and execute the following code:
window.dispatchEvent(new Event('resize'));
I validated that if I place the div in which the workspace is injected into the main layout's HTML, it works fine. I can type.
Any ideas?
Thanks.