Skip to content

Commit

Permalink
Merge pull request #319 from probablykasper/fix-multiline
Browse files Browse the repository at this point in the history
Fix multiline input in web UI
  • Loading branch information
printfn authored Oct 25, 2024
2 parents 1561332 + 324200b commit 0fc151f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

## Next
* Add `text` as a synonym for `string`
* Fix multiline input not being visible in the web UI

### v1.5.3 (2024-10-06)

Expand Down
2 changes: 1 addition & 1 deletion web/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ export default function App({ widget = false }: { widget?: boolean }) {
autoCapitalize="none"
spellCheck="false"
id="input-text"
rows={1}
rows={currentInput.split('\n').length}
ref={inputText}
value={currentInput}
onInput={update}
Expand Down

0 comments on commit 0fc151f

Please sign in to comment.