mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-02-11 05:43:44 -05:00
Allows other JS to tell sticky elements to recalculate their dimensions and then position (and then check to see if their state needs changing). We need this because we change the content of our element so its dimensions change. The recalculation code also updates the shim for elements that are 'stuck' so the horizontal space the element would occupy in the flow of the page is correct.