DigitalRiver / react-atlas

Composable React components with CSS Modules.
http://digitalriver.github.io/react-atlas/
MIT License
38 stars 25 forks source link

Enhance TextArea to behave in IE, Edge and Safari the way it does in Chrome and FireFox. #864

Open hbowden opened 6 years ago

hbowden commented 6 years ago

TextArea has a scrollbar instead of the traditional pulley thing that textareas have. because of this textarea cant be resized. 2018-07-05 09_45_23-react atlas style guide - internet explorer

stuller commented 6 years ago

Harry, I think that's just how textareas work in IE and Edge. You can see the same thing happens with the traditional html textarea by trying this link in those browsers.
https://html.com/tags/textarea/ I don't think this is a bug, I think it's a "working as browser intends"

hbowden commented 6 years ago

So do we want our TextArea to act differently on Edge and IE or should it act like it does on every other browser?

stuller commented 6 years ago

Maybe have this be a future enhancement? Since that's just the way those browsers handle textarea, I wouldn't consider this a bug or a need for 0.1.0

hbowden commented 6 years ago

Could probably add this to the build: https://www.npmjs.com/package/resize-polyfill . Plus add some CSS to remove the scrollbar on the right hand side of the TextArea. Also apparently it affects Safari as well.