question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add style option to center textarea

See original GitHub issue

Feature 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: image Desired: image

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:10 (6 by maintainers)

github_iconTop GitHub Comments

3reactions
compulimcommented, Jul 30, 2020

I think we should center it by default. 😉

0reactions
compulimcommented, Jan 17, 2021

The icon of send box button is not centered vertically. It is filed as #3672.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found