@una.im Hi :) Do you think Anchor API could ever work with sticky and fixed? It'd be awesome if it did - a lot of JS could be ditched to solve these common scenarios:
https://codepen.io/codeOfArmz/pen/ZYEjvKb
https://codepen.io/codeOfArmz/pen/ZYEjvKb
Comments
https://codepen.io/una/pen/dPPvjLL/99c4b4f69c70b3876067e71b23325ba1
But I do understand that it might pose some problems for Anchor API to constantly retrieve rect boundaries of a moving element.