Skip to content

Issue #3382683 by Robb Davis: Bug in affix.js breaks sticky header

Peter Epp requested to merge issue/bootstrap_barrio-3382683:5.5.x into 5.5.x

The issue reports that affix no longer works apparently due to changing from using jQuery once to the new core once library. However, the real issue seems to be that as of the latest D10 release, it is no longer able to reference the matched element from the once function using "this" and just needs to be changed to use the argument passed into the forEach function.

This merge request applies the appropriate changes to affix.js to rectify the problem.

Closes #3382683

Merge request reports