commit e9a62da0962ec2ce9783736912e321ecd493935c
parent a8f0316eafb1e8aad9b09384cf606170b8f9c90f
Author: Eric Butler <ebutler@striven.com>
Date: Mon, 10 Mar 2025 09:09:02 -0400
increase timeout for overflow detection
Diffstat:
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/striveneditor.js b/src/striveneditor.js
@@ -3443,11 +3443,12 @@ export default class StrivenEditor {
// Add the resolve to the end of the promise chain
p.then(() => {
resolve();
- // Check image overflow
- setTimeout(() => se.overflow(), 100);
// Remove busy class
se.editor.classList.remove('se-image-uploading');
se._isImageUploading = false;
+
+ // Check image overflow
+ setTimeout(() => se.overflow(), 500);
});
});
}