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.

Feature request `initialHeight` or `minHeight`

See original GitHub issue

I’m setting the initialHeight or minHeight with minRows={2} but it’s not exactly. There is a possibility to add an initial height.

Issue Analytics

  • State:open
  • Created 2 years ago
  • Reactions:5
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
ezcicommented, Apr 18, 2021

as a workaround; textarea{ min-height: 0!important; }

0reactions
l-Nuril-lcommented, Jul 18, 2022

Instead of initialHeight I think you can remove the height from element.style, if minRows is not set, the component will take height from the css before the first resize.

Read more comments on GitHub >

github_iconTop Results From Across the Web

min-height - CSS: Cascading Style Sheets - MDN Web Docs
The min-height CSS property sets the minimum height of an element. It prevents the used value of the height property from becoming smaller ......
Read more >
WPF - Trying to set the MinHeight of resizeable window based ...
I am trying to set the MinHeight / MinWidth of a resizeable window based on its initial height (when SizeToContent="WidthAndHeight").
Read more >
CSS min-height Property - W3Schools
Well organized and easy to understand Web building tutorials with lots of examples of how to use HTML, CSS, JavaScript, SQL, PHP, Python,...
Read more >
Define maximum/minimum element height/width when ...
Adobe XD Feedback : Feature Requests & Bugs · UserVoice Terms of Service & Privacy Policy · Adobe Terms of Use · Adobe...
Read more >
94583 - Textarea resize-able only to larger; min-height and ...
Chrome Version : 13.0.782.107. OS Version: Ubuntu 11.04 URLs (if applicable) : <html> <body onload="checkCookie();"> <textarea style="width:100px; ...
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