Currently the transition between sticky/non-sticky when scrolling is a bit jumpy for the header as illustrated in this animation.
Normally this is caused by the fact that the part that becomes sticky gets removed from the rest of the page making it move up. One way to compensate that is to add some extra margin/padding to the underlying page as the header becomes sticky. If such margin is closer to the same size as the header that becomes sticky, the jump would be avoided.
This ticket is a follow-up of the work done in T186874: Adjust the styling of the title and personal headers in the translation editor