Skip to content

Commit 8c3c9ec

Browse files
committed
feat: add delay to reInitHeight call in ResizableTagTextArea for improved rendering
1 parent c0b9705 commit 8c3c9ec

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/Common/CustomTagSelector/ResizableTagTextArea.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,9 @@ export const ResizableTagTextArea = ({
8989
}
9090

9191
useEffect(() => {
92-
reInitHeight()
92+
setTimeout(() => {
93+
reInitHeight()
94+
}, 100)
9395
}, [])
9496

9597
useThrottledEffect(reInitHeight, 500, [value])

0 commit comments

Comments
 (0)