Sticky-Anything
Sticky-Anything copied to clipboard
Recalculate width on window resize?
When a stick element is visible, and the window is resized, the inline CSS width is not recalculated, leading to stuff off screen or too small.
Would it be possible to recalculate width/position on screen resize?
Thanks!
Hi there! It's a tricky bug I've been trying to solve for a while but I haven't had the opportunity to focus on it yet. It'll probably need a big change of code structure.
It's possible to work around this by using the plugin's Legacy mode, but this can cause some issues with Javascript and interactive things. Worth trying though!