Open herbdool opened 4 months ago
I'm not sure if it's the best idea. In the patch there's this comment:
The JavaScript supports AJAX forms, however it is very inefficient since it has to serially trigger the AJAX callbacks due to Drupal.ajax only allowing 1 request at a time. Example: 9 large paragraphs could take 20+ seconds to collapse / expand.
Right, that patch description doesn't make it sound good.
It would be worth examining how it's done in D10.
This d.o issue claims to provide this: https://www.drupal.org/project/paragraphs/issues/2476253, among a bunch of other things. The one feature could maybe be pulled out of it.