OK thanks for the reproduction steps. Now I can see what’s happening. Your analysis is exactly correct, it does happen on the blur event. There’s a hack to get auto-dictation working in iframes and it’s overriding your Bunpro context. I will fix the hack in v4.1.0 and make sure that Bunpro is working as expected. The Google Chrome team has been reviewing slower than usual these days, so it might be a week before v4.1.0 is available.
In the meantime, the simplest (very hacky) workaround I could think of is this:
Add to top-level:
function activeElChange() {
setTimeout(enterBunproContext, 200);
}
Btw, something else I thought of while testing: it would be easier if the plugins could change language, but then have it revert back to default language (picked in LS settings) on context exit, instead of managing that themselves (which my code tries to do, but appears to do so unreliably)