Problem with anchors on subpage

Hi there!

I’m stuck a little…

I create submenu for review page that is should scroll user to right section of review

But, if use correct link for working bootstrap scrollspy and smothscroll
when i click it moves me to the root of site.

If I add <?= $page->url() ?>#link it will be work correct, but scrollspy will not be work.

On current live site (WP) it works correctly with just #link

Is it possible that links in kirby don’t have last slash / ?
Or what could be wrong?

Is it possible to made anchor link #link work on subpages in kirby?

Sorry, that is not kirby problem…
The problem was here
<base href="<?= $site->url() ?>">

without base, everything back to normal