If you have the element in a container other than the parent page, the sticky won’t work as if its parent container’s end is in view, it’ll follow scroll with its parent regardless of whatever code you write. You will have to replace the element at that position with a dummy shape that mimics it’s position and dimensions then put the group you wish to set as sticky in a seperate container on its own (this container has to span the entire height of the page.