diff --git a/app/assets/javascripts/components/NoteTags.tsx b/app/assets/javascripts/components/NoteTags.tsx index 112877416bb..e7d8c623826 100644 --- a/app/assets/javascripts/components/NoteTags.tsx +++ b/app/assets/javascripts/components/NoteTags.tsx @@ -34,6 +34,7 @@ const NoteTags = observer(({ application, appState }: Props) => { const tagsContainerRef = useRef(); const tagsRef = useRef([]); const overflowButtonRef = useRef(); + tagsRef.current = []; useCloseOnClickOutside(tagsContainerRef, (expanded: boolean) => { if (overflowButtonRef.current || tagsContainerExpanded) {