Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
feat(textarea): add autoGrow - set height to scrollHeight #16916
Short description of what this resolves:
Changes proposed in this pull request:
Ionic Version: 4.0.0-rc.0
May 7, 2019
1 check passed
@liamdebeasi When autoGrow is applied to ion-textarea placeholder is not in correct position. If you type something and delete it would reposition itself to it's correct place.
I debugged it little bit. In some cases
I use it in several locations and in some cases it is loaded properly and in some is not. In one case it was loaded with
On other page which is loaded as a modal I have custom form where I load elements from server. I use
I deleted everything from modal and just put plain
On other pages it works fine.
@aces-tm I created a codepen to see if I could replicate the issue you're experiencing, but I'm not having any luck. https://codepen.io/adamlacombe/pen/WPQXzP?editors=1100
Could you provide the repo where you're experiencing this?