I use <ion-textarea> with auto-grow function in a modal component in Ionic v4.
On my page I need to set up height of content in relation to body.clientHeight dynamically when loading. If I first open the modal, everything works fine. But the second time, style=“height:0” of the <textarea> within the <ion-textarea>.
“The second time” is, if I reopen the modal, the behaviour of the ion-textarea changes. The second time, the textarea inside seems to be a bit lower placed. But every time the developer tool tells me textarea inside of ion textarea has a set hight of 0px. When I force the size of the textarea with a function like this:
Yeah, I think you might be stuck with a lot of experimentation needed there? These couple of generic questions might (?) give you a clue to help…The second one has an “Angular” solution, but no idea if it is still relevant, or what is going to happen the second time