- 🇧🇪Belgium herved
Just a quick note as I also stumbled on this after debugging an issue for quite a while.
As 🐛 Big Pipe calls attachBehaviors twice Closed: works as designed mentions, once is a requirement, but in my case the issue was that the class used in the once() selector was being applied to another nested element. Definitely an issue from that JS behavior.once('foo', '.bar .baz', context).forEach(function () { ... $(this).find(...).addClass('baz'); }
Same over at https://www.drupal.org/project/drupal/issues/3347144 🐛 Form API #states property/states should use .once() to apply its rules (Can cause failures with BigPipe and possibly other situations) Needs work , `#states` fails to run properly on multi-level/complex state setups due to states handler binding multiple times when bigpipe is involved
- 🇮🇳India leopathu
Why this code not present in the 10.3 ?
and this issue is happening 10.3 now.