Open alliedarmour opened 4 years ago
Just worked around this myself.
Do yarn add autosize
Then...
import $ from 'jquery';
global.$ = jQuery;
import autosize from 'autosize';
$.fn.extend({autosize: autosize});
Autosize as a plugin is missing from the updated jQuery
The gem is great, but I think since the included autosize version is outdated, the
:as => textarea
isn't working anymore (at least for me). It always says:If you get the error, you can't submit the request anymore.
Is there any workaround that anyone figured out?