JedWatson / react-input-autosize

Auto-resizing input field for React
https://jedwatson.github.io/react-input-autosize
MIT License
769 stars 178 forks source link

Stylesheet should only be injected for IE #116

Closed JedWatson closed 6 years ago

JedWatson commented 6 years ago

It's unnecessary to inject it for other browsers.

We also only need the generated ID on the input for the stylesheet, so if we skip that for other browsers, it should have the nice side effect of making consistent jest snapshots simpler to generate as well.