You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using keyboard Backspace, after deleting all existing tags in a tagInput, when you try to add new one, the first added take "focus" or become active, and if you have more tags after it still this tag that will be delete first. You can still use keyboard "left" and "right" to change active tag.
Delete operation always start from the tag closest to the cursor by default.
I agree with this, but at least in this situation the tag being focussed and deleted (the first one) is visually highlighted with a focus ring. So the behavior is somewhat surprising, but not entirely so. Open to PRs to fix.
Environment
Code Sandbox
Example
Steps to reproduce
tagInput
orMultiSelect
Actual behavior
Using keyboard
Backspace
, after deleting all existing tags in a tagInput, when you try to add new one, the first added take "focus" or become active, and if you have more tags after it still this tag that will be delete first. You can still use keyboard "left" and "right" to change active tag.Here is a short video :
Enregistrement.de.l.ecran.2022-07-05.a.10.29.20.mov
Expected behavior
Delete operation always start from the tag closest to the cursor by default.
The text was updated successfully, but these errors were encountered: