Skip to content

Commit

Permalink
Autogrow markup box height.
Browse files Browse the repository at this point in the history
  • Loading branch information
amyjko committed Jul 3, 2024
1 parent c4843ca commit d618aaa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ Dates should be in`YYYY-MM-DD` format and versions are in [semantic versioning](
### Fixed

- Fixed rendering of numbered lists.
- Autogrow markup box height.

## 0.5.1

Expand Down
2 changes: 1 addition & 1 deletion src/lib/MarkupView.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
const errors = getErrors();
$: scrollHeight = input?.scrollHeight ?? height;
$: scrollHeight = revisedText ? input?.scrollHeight ?? height : height;
// Not an edit function, just a text field? Update the text immediately.
$: if (edit === undefined) markup = revisedText;
Expand Down

0 comments on commit d618aaa

Please sign in to comment.