idk fuck this

This commit is contained in:
2026-05-27 19:28:00 +02:00
parent 3e1657ec34
commit 9f6215706d
2 changed files with 9 additions and 1 deletions

View File

@@ -6044,7 +6044,7 @@ class NotificationSystem {
// keyboard so textarea loses focus, but _pendingUploads is still set).
const hasPendingUpload = isAttached && Array.from(
container.querySelectorAll('.comment-input')
).some(wrap => (wrap._pendingUploads || 0) > 0);
).some(wrap => (wrap._pendingUploads || 0) > 0 || wrap._attachPending === true);
if (isAttached && !userTyping && !hasPendingUpload) {
// Kill the stabilization ResizeObserver SYNCHRONOUSLY before anything else.
// If it's still alive from the initial anchor-load, it will fire when the