Radish alpha
r
rad:z4D5UCArafTzTQpDZNQRuqswh3ury
Radicle desktop app
Radicle
Git
Fix focus on comment component
Merged did:key:z6MkkfM3...sVz5 opened 1 year ago
1 file changed +4 -1 4428a457 93e2770d
modified src/components/Textarea.svelte
@@ -58,9 +58,12 @@
      textareaElement.style.height = `0px`;
      textareaElement.style.height = `${textareaElement.scrollHeight}px`;
    }
+
  });
+

+
  $effect(() => {
    if (textareaElement && focus) {
      textareaElement.focus();
-
      focussed = false;
+
      focus = false;
    }
  });