Wrap "Add Comment" blur action in setTimeout GitOrigin-RevId: 632555d94c8a33a095f3b9a10089714eeae2d962
@@ -64,7 +64,9 @@ export const ReviewPanelAddComment = memo<{
const handleBlur = useCallback(() => {
if (content === '') {
- handleClose()
+ window.setTimeout(() => {
+ handleClose()
+ })
}
}, [content, handleClose])