Rails’ turbolinks mess with the anchor scrolling of scroll-behavior: smooth; so it sometimes requires a few clicks to get to the id that you are linking to. Just remember to disable the turbolinks for anchors with data-turbolinks=”false”.