We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa6bc28 commit 4e920efCopy full SHA for 4e920ef
1 file changed
packages/carta-md/src/lib/internal/components/Input.svelte
@@ -140,6 +140,8 @@
140
debouncedHighlight(value);
141
142
highlightNestedLanguages(value);
143
+
144
+ prevValue = value;
145
};
146
147
$: if (BROWSER) onValueChange(value);
@@ -195,7 +197,6 @@
195
197
bind:value
196
198
bind:this={textarea}
199
on:scroll={() => (textarea.scrollTop = 0)}
- on:keydown={() => (prevValue = value)}
200
></textarea>
201
</div>
202
0 commit comments