chainlit
chainlit copied to clipboard
bug when using the Edge browser translation plug-in at streaming output
Describe the bug
When using Edge and enabling the browser translation plug-in, an error will be reported in the foreground during streaming output:
Failed to execute 'removeChild' on 'Node': The node to be removed is not a child of this node.
To Reproduce Steps to reproduce the behavior:
- Use edge browser.
- Use stream output.
- The browser automatically detects that the current page language does not match the browser, pops up a translation, click Translate.
- Enter the content and click Send.
- The reply content flashes quickly, and then reports an error
Failed to execute 'removeChild' on 'Node': The node to be removed is not a child of this node
Screenshots
Desktop (please complete the following information):
- OS: [e.g. windows]
- Browser [e.g. edge]
Additional context The webpage works fine without translation enabled.
Another perspective I am using it in a Chinese environment, I have configured the translation file, and the interface translation works well. But when the webpage is opened with Edge, the translation plug-in will mistakenly detect that the webpage is in English, not Chinese.
If it is detected as Chinese normally, the above problems will be solved.
I have the same error with Edge and Chrome Browser but not with Safari.
Hi, I have the same issue in German across multiple browsers. This is causing numerous unnecessary user complaints in production.
Hi, I am experiencing the same issue in my environment, which is set to Japanese.
Same here, also for the language german and deployment in production
This issue is stale because it has been open for 14 days with no activity.
This issue was closed because it has been inactive for 7 days since being marked as stale.