Browse Source

fix: hide reply whilst submitting

because often the reply gets displayed in the feed before the sent
confirmation is recieved from the relays so its displayed twice
momentarily
master
DanConwayDev 2 years ago
parent
commit
ff7af17043
No known key found for this signature in database
GPG Key ID: 68E15486D73F75E1
  1. 13
      src/lib/components/events/Compose.svelte

13
src/lib/components/events/Compose.svelte

@ -22,12 +22,13 @@ @@ -22,12 +22,13 @@
/>
</div>
<div class="flex-grow pt-2">
<textarea
disabled={submitting}
bind:value={content}
class="textarea textarea-primary w-full"
{placeholder}
></textarea>
{#if !submitting}
<textarea
bind:value={content}
class="textarea textarea-primary w-full"
{placeholder}
></textarea>
{/if}
<div class="flex">
<div class="flex-auto"></div>
<button

Loading…
Cancel
Save