Hello! I use Smooth Scrolling with the following code:
page "A" links<a href="price.html#yandex" data-scrollto="#yandex" data-offset="100" target="_blank" class="btn btn-outline-light mt-2"><span>Узнать больше</span></a>
to page "B" where should be used Smooth Scrolling to a specific Element ID. On the "B" page, I had to create a button data-scrollto=
<div class="col-sm-12">
<a href="123.html#yandex-price" data-scrollto="#yandex-price" data-offset="20" class="btn button-rounded bg-color text-white shadow-sm fw-medium m-0 w-100" data-easing="easeInOutExpo" data-speed="1250" style="padding: 10px 22px"><i class="icon-line-arrow-left" style="position: relative; top: 1px; margin-right: 5px;"></i> Вернуться назад</a>
</div>because Smooth Scrolling does not work without it (probably it should be, nothing is said about this in the documentation https://docs.semicolonweb.com/docs/ page-elements/useful-snippets/)
I faced the following problem. When I go from page "A" to page "B", a block with id="yandex" on page "B" is immediately displayed, then there is a transition to the header, and only then Smooth Scrolling triggered to id="yandex".
When I go from page "B" to page "A", I am thrown into the header of page "B" and only then go to page "A"
