You misunderstand. The bubble action for scroll to entry in a repeating group works when the repeating group has one row and multiple columns, which means it scrolls horizontally. You do not want to scroll the page, you want to scroll the repeating group.

Setup the conditional triggers based on selected RG entry being in view or not…as mentioned various approaches to get there.

There is a plugin, called elements in view…there are also forum posts from what I recall showcasing how to do it with JS to Bubble elements.