Comments (13)
Thanks for the report, but I wasn't able to reproduce this problem. Is your "how it should look" actually how it should look, or is that just how you want it to look (as in maybe it is rendering correctly according to your CSS)? What does it look like if you don't use autosize? If autosize is the problem, post a demo and I'll look into it.
from autosize.
Without using autosize, the textarea gets its original size (which is about 3 rows, the "how should look" is the min-height
of the textarea) - have you tried with Bootstrap?
from autosize.
I didn't try with bootstrap, I just changed the box-sizing.
from autosize.
And changing the box-sizing did change the total height, but that was independent of using the plugin.
from autosize.
Sorry, I got out of the wi-fi zone and just updated the comment without refreshing...
This is the .input-block-level
CSS:
-moz-box-sizing: border-box;
display: block;
min-height: 30px;
width: 100%;
from autosize.
Thanks
from autosize.
Ok, should be fixed now.
from autosize.
Oh, thanks! You're awesome!
from autosize.
@gustavohenke @jackmoore
i have the same issus, how do u get the height to 30px ?
from autosize.
Hello, it seams that the problem occurs again, but changing
boxOffset = $ta.outerHeight() - $ta.height();
to
boxOffset = $ta.outerHeight(false) - $ta.height();
does the trick.
from autosize.
outerHeight is false by default, so your change shouldn't affect anything:
http://api.jquery.com/outerHeight/
from autosize.
I know but only with "false" it works... (text area have input-block-level class)
from autosize.
Do you happen to be using jQuery 1.8.0? http://bugs.jquery.com/ticket/12293
from autosize.
Related Issues (20)
- How can I make it work with react hooks HOT 3
- How do i apply autosize for textareas created using JQuery ? HOT 3
- How to resize plus additional more row. HOT 2
- Bug with scroll-behavior: smooth HOT 2
- Padding bottom not working with Firefox ? HOT 4
- 5.0.0 not marked as latest HOT 1
- ESM version uses ES6+ syntax other than import and export HOT 2
- 通过getRealMetrics方法获取density和通过getDisplayMetrics()获取的density值不一致 HOT 1
- Bug: Plugin Sporadically Adds Disabled Vertical Scrollbar HOT 1
- Adapter some phones for suddenly amplify the views and shrinking after.
- Page scrolls up when typing (when being zoomed out in Safari) HOT 5
- When the end of the line is reached, pressing the spacebar does not switch to a new line. HOT 1
- autosize 与multdex 在低版本上运行报错
- The account name input field collapses when trying to insert prohibited characters HOT 6
- Conflicting with LastPass Browser Extension HOT 1
- [issue]autosize after changing padding HOT 2
- Release note for each major update? HOT 2
- Text "jumps" when new line since 6.0.1 HOT 2
- [6.0.0 regression] Disabled horizontal scrollbar appears when reaching max-height HOT 3
- Jerky inertial scrolling on iOS 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 autosize.