I was able to recreate a similar effect when everything is within the same section.
So I have the element that is supposed to reveal set to sticky and it’s arranged behind content that is set to default position. Then you add a row which is blank underneath that would be big enough to display the content set to sticky.