From 56a8973fa0bc6ad522c26d015ff32b2b5158440c Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Sat, 13 Sep 2025 00:30:00 +0400 Subject: [PATCH] refac --- src/lib/components/common/RichTextInput/suggestions.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/lib/components/common/RichTextInput/suggestions.ts b/src/lib/components/common/RichTextInput/suggestions.ts index 70deaf3089..1af255004e 100644 --- a/src/lib/components/common/RichTextInput/suggestions.ts +++ b/src/lib/components/common/RichTextInput/suggestions.ts @@ -76,6 +76,9 @@ export function getSuggestionRenderer(Component: any, ComponentProps = {}) { if (container?.parentNode) container.parentNode.removeChild(container); container = null; + + if (refEl?.parentNode) refEl.parentNode.removeChild(refEl); + refEl = null; } }; };