seawind543/react-token-input

Does not trigger new tokens creates when the separator is not at the tail

Closed this issue · 1 comments

[Issue]

  • Does not trigger new tokens creates when the separator is not at the tail.

[Re-create steps]

  1. Focus TokenInput
  2. Typing in abc
  3. Use the keyboard's Arrow Left to move the cursor to locate between b and c
  4. Typing in ,

The result is ab,c has been input into the creator but the new tokens create process does not been triggered.

[Expect result]
The new tokens creation process should be triggered when there exists a separator in the value of the creator

[Issue found version]
Since v0.5.0

[Environment]
ALL

Set emoji (💩) as the separators, but failed to trigger the new tokens creation process either when typing 💩 at the tail.