Comments (11)
Hmmm... yeah, I just confirmed on Browserstack that it doesn't work on IE8 (though it does work on IE9).
This is a screenshot of error I'm seeing in IE8.
from react-textarea-autosize.
Are all needed polyfills included?
from react-textarea-autosize.
As listed on http://facebook.github.io/react/docs/working-with-the-browser.html#browser-support-and-polyfills
from react-textarea-autosize.
Oh right, that's the problem. @andreypopp we were looking at the Github pages example so it'd make sense to add the polyfills to that example.
from react-textarea-autosize.
Yeah, let me try http://cdn.polyfill.io/v1/
from react-textarea-autosize.
Added, don't have IE8 atm so didn't test yet.
from react-textarea-autosize.
Object.freeze is still missing (just tested again in BrowserStack — they give you 30 minutes for a free trial).
from react-textarea-autosize.
Thanks you very much, you guys are fantastic quick, it still does not work, because window.getComputedStyle() is only supported in IE9 and later. I guess maybe letting getDiffSize() return 0 when getComputedStyle() is not defined will do the trick?
from react-textarea-autosize.
Can someone with IE8 at hand send a PR?
from react-textarea-autosize.
Just as a tip, IE8 images can be downloaded for free from https://modern.ie
from react-textarea-autosize.
Closing as Microsoft and React no longer support IE8.
from react-textarea-autosize.
Related Issues (20)
- Page scrolls up when typing (when being zoomed out in Safari)
- When you limit the height of the div outside a <TextareaAutosize/>, the textarea component becomes scrollable. HOT 1
- Add spellcheck prop
- row-property is a noop? HOT 2
- Always getting this warning: Invalid DOM property `class`. Did you mean `className`? HOT 3
- Textarea with incorrect height at first render HOT 1
- Initial height is incorrect in Firefox HOT 4
- TypeError in version `8.4.1` HOT 5
- package gets resolved as commonjs from an esm project HOT 4
- When importing in Astro it fails to resolve (v8.5.0) HOT 2
- Nextjs 13.4.3 and v8.5.0 warning
- Invalid exports in package.json HOT 1
- textarea-autosize conflict with custom key bind HOT 1
- Id attribute value and name attribute value cannot be specified in hiddenTextarea
- Height on iOS Safari doesn't account for padding
- package.json duplicate browser exports HOT 3
- Doesn't update if made to change width without re-rendering HOT 3
- SSR-only Error with NextJS on Edge Runtime - "document is not defined"
- Custom render HOT 1
- Simplest example does not work HOT 7
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 react-textarea-autosize.