Radish alpha
r
Radicle desktop app
Radicle
Git (anonymous pull)
Log in to clone via SSH
Fix focus on comment component
Sebastian Martinez committed 1 year ago
commit 93e2770d6d6b2f68b7972143cecbada171569b1f
parent 4428a4576c7489f852c15fb9ffa5fa7facb8b5ee
1 file changed +4 -1
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;
    }
  });