ScrollContainer doesn't scroll when focus

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By wiiugamerj

I implemented a focus with a Joy-Con and then the list buttons focus is working, but when i go to a not visible button the list doesnt scroll. how do i make the list scroll when focusing a not-visible button?

:bust_in_silhouette: Reply From: Zylann

Did you try setting follow_focus in your ScrollContainer? ScrollContainer — Godot Engine (stable) documentation in English

There is also ensure_control_visible ScrollContainer — Godot Engine (stable) documentation in English