Expected Behavior

The sticky element—which is the last flex item—shouldn’t overlap the next-to-last flex item when the flex container is scrolled all the way to the end. Instead, it should behave as though it had position: relative with no offset. Or as though it was just a regular last flex item.

Working version in Chrome

Try it here:

Austria
Belgium
Croatia