Hi,
I like your plugin very much, but there is something I need to modify on my WP install:
I’d like the function to operate only when we click on a textarea/wysiwyg field, NOT on page load.
The reason:
I created a fairly complex system based on ACF, with lots of fields, and since the plugin has to “scan” all the fields on load, it slows down the loading time by about 1 second. This is not a complaint at all, it’s perfectly normal with the number of fields we have, but since we use the system all day long I really need to optimize the loading times, even if it implies losing a bit of functionality.
I tried to play around in the plugin code but couldn’t find the solution.
THANK YOU !
PS: If there is a specific filter/action that I can add to functions.php, better (as it would be update-proof)
]]>Hi,
Thank you for this nice little plugin !
I have a small request; i have a repeater with a text area for which the content is added dynamically, via javascript (i.e. when i select a specific value in another field of the row, the text area is filled with the corresponding content).
In this case, the text area won’t resize (it will resize only if i edit the text area or if i save the post).
My javascript skills are limited, so i didn’t manage to add a code that makes it work. Here is what i have :
$(“[data-name=’product’] select”).on(“change”, function (???));
Thank you in advance !
]]>Hello,
Your plugin is really handy, is there a way I can make it work also on the frontend (for which I’m using ACF Frontend)?
On the backend, everything is OK, but on the frontend it simply doesn’t work.
Thanks in advance!
]]>Hi !
If I have a toggle in my repeater field (the option to collapse the content of an element), the wysiwyg or textarea won’t resize and have a very small height when I reopen the toggle after a save of the post. This bug is just when I add the min-height filter in the functions.php.
Thank you ??
]]>If I have an autosize field that’s a sub-field of a repeater or flexible layout type field and I add a new item, its child autosize field won’t autosize until I save the post and reload the admin. It would be nice if you could somehow hook onto the JS that ACF executes to add fields and initialize any new autosize fields.
]]>It would be nice if there was an options to enable this globally for all WYSIWYG and textarea fields, instead of needing a class.
]]>Hi there, great little plugin! ??
A suggestion: Would it be possbible to make the min-height for wysiwyg filterable? Atm it’s 200px, right?
cheers from Berlin ??
]]>My ACF text area is part of a repeater
I added the autosize class to the textarea field
I flushed the cash
No effect
So i’m trying to use the plugin for actually auto-resize wysiwyg fields, but for some reason fields i added autoresize class to are simply set to 44px height and can’t be resized(i need to scroll for additional text rows).
I’m using latest ACF Pro 5.7.9, console is clear.
Is it intended or am i missing something?
]]>