Dear Klaus!
I just tried to create a plugin that is displayed alongside the panorama, instead of over the image, by setting the plugins parent to stage. It all looks good, but when I put an input element in this plugin, it's very hard to get focus in it, meaning if I just single-click it, nothing happens, no matter how many times I try. If I double click, again nothing happens. But if I start clicking like mad, sometimes it finally gets focus. Please note this only happens with type=text inputs, buttons work just fine.
I'm pretty sure this has something to do with the parent=stage setting, because if I remove that line and the plugin appears inside the area, this behavior stops immediately.
Is this a bug perhaps? Any workarounds?
Update: did some search on the forum and found out that there has been some similar issues, but the topics are dated back to 2011, and it was still in the flash-based viewer, so I guess that's a completely different animal. In any case I tried the setting parent=bglayer aswell, but the same issue persists, in fact it's even worse, this time I wasn't able to get the focus in the input at all, no matter how many times and how fast I tried to click
Update2: looking around in the debugger it seems that there is some kind of internal krpano (mousedown) event listener preventing the textfield from getting the focus, when I remove that it starts working immediately.