angular-elastic
angular-elastic copied to clipboard
copy padding to hidden textarea
In chrome width setted incorectly, this patch fixing it. But still has problem on mobile chrome.
Thanks for the contribution :+1:
However, I believe the padding should be taken care of here:
https://github.com/monospaced/angular-elastic/blob/master/elastic.js#L66
and then here:
https://github.com/monospaced/angular-elastic/blob/master/elastic.js#L150
Would you be able to provide a plunkr or similar showing this Chrome padding issue in action?
I noticed that if you change the padding during the lifetime of the textarea, then angular-elastic doesn't take the new padding into account.
I think this is related #101, but I can't reproduce it in plunkr :/