Comments (3)
You may need to set rows="1"
(browsers default to 2)
Besides this, you might have some CSS in play. You should be able to control the empty height with CSS min-height
from angular-elastic.
As said by monospaced, the problem is solved for me by adding:
style='min-height: 1em' rows='1'
(I am using bootstrap, so that could be what is causing the offending CSS that I override locally, not sure)
from angular-elastic.
Closed due to inactivity (also this can be resolved outside of elastic with HTML/CSS).
from angular-elastic.
Related Issues (20)
- textarea height "jumping" HOT 1
- Not Able to initialise textarea with angular elastic properly. HOT 1
- Right clicking then pasting from the context menu doesn't update the model
- Is this repo abandoned HOT 2
- Rows attribute overridden when not hard coded HOT 2
- Model refresh from resize event doesn't works HOT 2
- Is there a minify version on bower? HOT 1
- How to ensure sizing adjusted when text area is initially hidden HOT 3
- make ngmodel dependency optional? HOT 5
- Angular 2 HOT 3
- Bug is the $watch function HOT 1
- Zooming in browser doesn't resize textarea HOT 2
- ng-attr-msd-elastic="{{undefined}}" should not autosize HOT 3
- specify rows not work HOT 2
- Incorrect height when browser zoom is more than 100% and textarea width is 100% HOT 1
- Question - Expand Horizontally? HOT 1
- Takes a lot of time to load with lots of data HOT 1
- Add option to set max number of lines HOT 1
- support for dynamic value of the textarea's rows attribute HOT 1
- How to set min height? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from angular-elastic.