From 917ed28dc44ca8c3dffa0cb4579f07f166b6b2df Mon Sep 17 00:00:00 2001 From: Hrusikesh Panda Date: Sat, 18 Jan 2020 19:52:23 -0500 Subject: [PATCH] fix: Append clientId to tag, remove button to make them unique Currently, having multiple component instances on same page renders same remove-button, tag ids. Fixes #315 --- __snapshots__/src/tag/index.test.js.md | 6 +++--- __snapshots__/src/tag/index.test.js.snap | Bin 424 -> 429 bytes src/index.js | 8 ++++++-- src/index.keyboardNav.test.js | 6 +++--- src/index.test.js | 4 ++-- src/tag/index.js | 9 +++++---- src/tag/index.test.js | 12 ++++++------ src/tags/index.js | 8 +++++--- src/tree-manager/keyboardNavigation.js | 6 +++--- src/trigger/index.js | 2 +- 10 files changed, 34 insertions(+), 27 deletions(-) diff --git a/__snapshots__/src/tag/index.test.js.md b/__snapshots__/src/tag/index.test.js.md index 4cba7e93..f368d636 100644 --- a/__snapshots__/src/tag/index.test.js.md +++ b/__snapshots__/src/tag/index.test.js.md @@ -11,14 +11,14 @@ Generated by [AVA](https://ava.li). hello