Input 4 - should get focus when collapsible is opened.

Open collapsible.

Input 5 - inject element with autofocus.

inject autofocus input here

Elements in the iframe below should not get the focus.