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

Select mode error in Chrome when using keyboard #1401

Closed
3 tasks done
Massi-X opened this issue Oct 29, 2024 · 0 comments
Closed
3 tasks done

Select mode error in Chrome when using keyboard #1401

Massi-X opened this issue Oct 29, 2024 · 0 comments
Labels

Comments

@Massi-X
Copy link

Massi-X commented Oct 29, 2024

Prerequisites

  • I am running the latest version
  • I checked the documentation and found no answer
  • I checked to make sure that this issue has not already been filed

💥 Demo Page

https://jsbin.com/sarufovumi/edit?js,console,output

Explanation

Hi again! I had an edge case when the mode is set to select. First let's clarify that the error only appears in Chrome and it is exactly this one Stackoverflow, see section '2024 Update' for the open bug in Chrome issue tracker.
To trigger the error follow these steps:

  1. Use Chrome obviously
  2. Go to Jsbin and select an initial value from the dropdown
  3. Now use the keyboard to remove part of the input but not all (leave for example a "T" or "O") so that another value shows up in the dropdown and the input still contains a letter
  4. Now select a different value than before using the keyboard with arrows + Enter (with the mouse everything works fine)
  5. The error Uncaught NotFoundError: Failed to execute 'removeChild' on 'Node': The node to be removed is no longer a child of this node. Perhaps it was moved in a 'blur' event handler? is triggered and tagify fails to correctly fill the input
  • What is the expected behavior?
    The input reflects the new value
  • What is happening instead?
    The input goes blank
  • What error message are you getting?
    Uncaught NotFoundError: Failed to execute 'removeChild' on 'Node': The node to be removed is no longer a child of this node. Perhaps it was moved in a 'blur' event handler?
@yairEO yairEO added the Bug label Nov 9, 2024
@yairEO yairEO closed this as completed in 0e0e851 Nov 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants