Start up Focus on component with Visibility binding

Hi

I currently have a issue i have a text component that have a visibility binding. I would like to have the component Self.Focus on start up i am using self.focu() and it work well if i remove the visibility binding. It also work well if i do it after the start up. It look like the visibility result remove the focus even if it's true.

Is there a way to have self Focus on start up on a text component that have a visibility binding.

Start up event.

Visibility binding

Thank You

Start up scripts are first, then the bindings.

So if you have the visibility state of the component set to True when saving the view, your startup script will probably work.

If visibility is set to false at the time of saving the view, then your focus script won't work because the binding hasn't ran yet to make visibility true.