react-token-input icon indicating copy to clipboard operation
react-token-input copied to clipboard

Support more keyboard operations

Open seawind543 opened this issue 4 years ago • 3 comments

Support more keyboard operations, such as ArrowLeft to select a token and Enter to make the token enter inline-editing mode

seawind543 avatar Dec 19 '21 15:12 seawind543

Hi @seawind543 – it would also be nice to be able to use the arrow keys to navigate between tags. Let's assume I have added three tokens, but then want to delete the middle one. If I understand correctly, the only way to do that at the moment is with the mouse, right?

isaachinman avatar Oct 21 '24 06:10 isaachinman

@isaachinman Yes, you are right! Currently, we do not support the selected state on the token either.

seawind543 avatar Feb 19 '25 03:02 seawind543

Thanks. I ended up writing my own component, as keyboard navigation was a requirement.

isaachinman avatar Feb 19 '25 08:02 isaachinman