The very element that’s having the ID also has an interaction setting it’s default to display:none.
See where I go with this? When you click the button, there’s no place to scroll to, yet…
Remove the ID from this element, create an empty element just before it, make sure this one doesn’t get hidden, and point to it instead. That’s one of the various solution that I can think of.