Auto Focus input in a Modal in a SlideBox


Hey everyone,

I’m trying to apply an auto focus (based on the example gave by max) on an input inside a sidebox which is itself inside a modal.

I’ve created a pen to illustrate what I’m trying to do

The idea is that I’m making a multistep creation flow inside a modal, so I need both of them, how can I do to autofocus the input when the slidebox is scrolled on the specific slide? (I know how to do for the slideIndex part in the controller, I’m talking about the directive way to pass a parameter to enable or disable autofocus).

Thank you very much for your time