Add style option to center textarea
See original GitHub issueFeature Request
When using the following style options:
sendBoxTextWrap: true,
sendBoxHeight: 55,
you get a textarea instead of an input for user input. This textarea alligns with the top. There’s also a div behind it, probably for accessibility, with the same dimensions.
Current: Desired:
Issue Analytics
- State:
- Created 3 years ago
- Comments:10 (6 by maintainers)
Top Results From Across the Web
Justify and Center <textarea> text HTML/CSS? - Stack Overflow
In order to center the textarea element, you have to declare it as a block element in CSS and then add typical centering...
Read more >Textarea Tricks | CSS-Tricks
1. Image as textarea background, disappears when text is entered. You can add a background-image to a textarea like you can any other...
Read more >How would you center a textarea with css? - Treehouse
The code for html <textarea cols="40" rows="8" ... I've looked everywhere on google and no code allows me to center it on the...
Read more >How to Center Text & Headers in CSS Using the Text-Align ...
Then you want to style the paragraph within the div. First, set its position to absolute so that it's taken out of the...
Read more >The Textarea element - HTML: HyperText Markup Language
Styling with CSS being easily manipulable using regular CSS. Styling HTML forms provides some useful tips on styling <textarea> s.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I think we should center it by default. 😉
The icon of send box button is not centered vertically. It is filed as #3672.