Open nrser opened 9 years ago
@nrser I also meets this issue. Did you solved it?
no... i am still using $
instead of template.$
as a work-around.
@jasli2 if you're still having problems, i think i ran into the same issue again (though using react now, so not sure) and was able to solve it by supplying the element as context like:
var $textarea = $(domElement);
$textarea.autogrow({context: $textarea});
that might help in your situation too.
i'm seeing an issue where this fails:
but this works fine:
there is only one textarea being rendered. when i use
this.$
, there is no response when entering newlines in the textarea, but when pressing delete i get this error:any idea what the issues is? i can work around it, but it seems like the top example should work.
thanks, Neil.