Clicking button in scroll container causing other buttons to be clicked twice to trigger button press event

Godot Version

4.4.1

Question

when i click a button while dragging in scroll container, it is grabbing focus thus i need to click or touch other buttons twice to trigger press event.


As you see here if i click locked button while dragging down and if i try to click 60 written button again, button pressed event does not get triggered, i need to press it twice.
How can i prevent that? I want to make every button to work in one click

This is probably caused by the buttons grabbing ‘focus’, which makes only them be able to receive input.

Controls have a property called focus_mode, which can be set to None to never grab focus. They should still be able to receive input.