Skip to content

TagSpaces is an offline, open source, document manager with tagging support

fixing context menu placement issue

Ilian Sapundshiev1563ef6da451
diff --git a/app/perspectives/grid-perspective/components/CellContent.js b/app/perspectives/grid-perspective/components/CellContent.js
index 0ee7226d4..c96dd3495 100644
--- a/app/perspectives/grid-perspective/components/CellContent.js
+++ b/app/perspectives/grid-perspective/components/CellContent.js
@@ -275,7 +275,7 @@ const CellContent = (props: Props) => {
return isReadOnlyMode ? (
<TagContainer
tag={tag}
- key={uuidv1()}
+ key={fsEntry.path + tag}
entryPath={fsEntry.path}
addTags={addTags}
handleTagMenu={handleTagMenu}
@@ -284,7 +284,7 @@ const CellContent = (props: Props) => {
) : (
<TagContainerDnd
tag={tag}
- key={uuidv1()}
+ key={fsEntry.path + tag}
entryPath={fsEntry.path}
addTags={addTags}
handleTagMenu={handleTagMenu}