I was wondering if there's a way to recalculate the width of the sticked element when window resizes?
Currently the width is calculated on page load and even if the window resizes and the parent element changes width, the sticked element stays the same, which in no way is responsive. If I reload the page the width is ok again.
I was wondering if there's a way to recalculate the width of the sticked element when window resizes?
Currently the width is calculated on page load and even if the window resizes and the parent element changes width, the sticked element stays the same, which in no way is responsive. If I reload the page the width is ok again.