Comments (3)
Have you checked what that looks like in IE? You can't read the line-height through JavaScript for IE8 or lower. Apply the line-height style to the textarea selector in your CSS, rather than using something with higher specificity (so that it will also be applied to the textarea elements that autosize creates). Or modify the plugin so that it's textarea elements include a selector that you can also apply the CSS style to. Trying to copy the line-height just makes it work inconsistently between browsers.
from autosize.
I'll try that. Thanks for the tip!
from autosize.
That works. Thanks again!
from autosize.
Related Issues (20)
- 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
- Uncaught TypeError: e.has is not a function with dist/autosize
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.