Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug when using the Edge browser translation plug-in at streaming output #1112

Open
spttt opened this issue Jul 2, 2024 · 1 comment
Open

Comments

@spttt
Copy link

spttt commented Jul 2, 2024

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:

  1. Use edge browser.
  2. Use stream output.
  3. The browser automatically detects that the current page language does not match the browser, pops up a translation, click Translate.
  4. Enter the content and click Send.
  5. 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
PixPin_2024-07-03_00-35-41

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.

@HoMi264
Copy link

HoMi264 commented Jul 23, 2024

I have the same error with Edge and Chrome Browser but not with Safari.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
2 participants