Merge pull request #2615 from alphagov/fix-find-sticky

Fix sticky with find as you type
This commit is contained in:
Chris Hill-Scott
2019-01-02 10:13:22 +00:00
committed by GitHub

View File

@@ -27,6 +27,12 @@
});
// make sticky JS recalculate its cache of the element's position
// because live search can change the height document
if ('stickAtBottomWhenScrolling' in GOVUK) {
GOVUK.stickAtBottomWhenScrolling.recalculate();
}
};