Anchor after Interaction

Hy - what if i want to link to an anchor after closing a sidemenu for example? In my tests the anchor stops at the half or some jiokes, so i think i need a delay before the anchor triggers, right?