[GH-ISSUE #451] Input height default 0 #117

Open
opened 2026-03-02 23:44:40 +03:00 by kerem · 1 comment
Owner

Originally created by @pablorich on GitHub (Dec 28, 2025).
Original GitHub issue: https://github.com/anomalyco/opentui/issues/451

I noticed that the input element has a default height of 0 which causes some weird issues when you arent aware of it

Code Snippet

<input
  placeholder="Type here..."
  focused
  onInput={setValue}
/>
<text>hey</text>
<text>You entered: {value}</text>
Image

Is this intentional?

Originally created by @pablorich on GitHub (Dec 28, 2025). Original GitHub issue: https://github.com/anomalyco/opentui/issues/451 I noticed that the input element has a default height of 0 which causes some weird issues when you arent aware of it ## Code Snippet ``` <input placeholder="Type here..." focused onInput={setValue} /> <text>hey</text> <text>You entered: {value}</text> ``` <img width="222" height="44" alt="Image" src="https://github.com/user-attachments/assets/15694b5d-2b7e-4135-9a7b-7f8fe9771121" /> Is this intentional?
Author
Owner

@kommander commented on GitHub (Jan 26, 2026):

Did this improve with the recent switch to use Textarea as underlying implementation for Input?

<!-- gh-comment-id:3800779645 --> @kommander commented on GitHub (Jan 26, 2026): Did this improve with the recent switch to use `Textarea` as underlying implementation for `Input`?
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/opentui#117
No description provided.