mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-06-05 07:09:02 +02:00
Merge pull request #23738 from overleaf/ae-blur-handler-timeout
Wrap "Add Comment" blur action in setTimeout GitOrigin-RevId: 632555d94c8a33a095f3b9a10089714eeae2d962
This commit is contained in:
+3
-1
@@ -64,7 +64,9 @@ export const ReviewPanelAddComment = memo<{
|
||||
|
||||
const handleBlur = useCallback(() => {
|
||||
if (content === '') {
|
||||
handleClose()
|
||||
window.setTimeout(() => {
|
||||
handleClose()
|
||||
})
|
||||
}
|
||||
}, [content, handleClose])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user