From 9b3d3eb4929cc36ded6048b7546169e1ad34105f Mon Sep 17 00:00:00 2001 From: Vinay Gupta Date: Tue, 18 Jun 2019 13:49:07 +0530 Subject: [PATCH] Fix TextArea height to update based on rows I tried the example code and it did not work. Perhaps the CSS is adding `height` which interferes with `rows`. Setting it to `auto` fixes the example. --- dash-textarea-height.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dash-textarea-height.py b/dash-textarea-height.py index 5c82f19..8d9481e 100644 --- a/dash-textarea-height.py +++ b/dash-textarea-height.py @@ -11,7 +11,7 @@ id='input_query', placeholder='Enter/Review Query...', rows=50, - style={'width': '100%'} + style={'width': '100%', 'height': 'auto'} ), ]), ])