Brizy anchor links acting strange
Hi,
I encountered a strange error while working with anchor links, buttons, and links. It only happens when a certain link should scroll to a chosen block on the same page.
However, when these links are clicked, the results vary:
- In most cases first, it scrolls to partially or before the target block.
- On a second clicks, it works fine in most of the cases, scrolling exactly to the target block
This looks like a returning error, as it happened in other projects of ours as well.
Thanks for the help.
-
Hi Rácz,
Thank you for contacting us.
To better understand the issue you are facing, could you please create a short screencast demonstrating the problem? This will help us get a clearer picture of the issue.
I am looking forward to your response.
Best regards,
Ariel H.0 -
Hi Ariel,
I made a short screenrecord on the proble, available here:
https://drive.google.com/file/d/1S3tUJfxsneA0dB_PPoEngHnf3Aox1FWj/view?usp=drive_link
Thanks0 -
Hi Rácz,
The problem you have illustrated typically occurs when you click on the button (with an anchor link) while the page is still loading and the target block is still being downloaded. Assume that it takes 4 seconds for the website to fully load and that it took you 2 seconds to click on the anchor link. The website will not scroll to the target block while the page is still being loaded. Once the page is loaded, the anchor links should work well.
0
Please sign in to leave a comment.
Comments
3 comments