Shelagh-Lewins / twisted-threads-2

0 stars 0 forks source link

clicking a tag deletes it #4

Closed CableGuy67 closed 4 years ago

CableGuy67 commented 4 years ago

When adding new tags if you click on an existing tag it will be automatically deleted. This is due to the component being used.

Expected behavior would be to either have the 'X' be the only part clickable to delete the tag. Or, to have a confirmation that you really do want to delete the tag.

Shelagh-Lewins commented 4 years ago

I've raised an issue on the component:

https://github.com/i-like-robots/react-tags/issues/197

Shelagh-Lewins commented 4 years ago

Fixed - it turns out you can write a custom component for the tag and so have a separate button.