3 ms·You can make the onclick event.preventDefault to prevent the scroll and adding hashtag to the URLby 8n4vidtmkvmk 5y agoYou can make the onclick event.preventDefault to prevent the scroll and adding hashtag to the URL