title: How to set focus on an input that works on IOS supporting devices?
body: <p>My aim is to set focus on an input via the button click method.</p>
  <p>I used a template variable, but doing it via component code seems to give the same result.</p>
  <p>This works as expected on all devices where I tested (MacBook and some mobile devices) whatever the browser is, i.e. Safari, Chrome, Firefox, however it doesn't work on iOS supporting devices. Nothing happens.<br />
  Here is the snippet of the code which is supposed to set the focus to an input on a button click.</p>
  <p>Important: It should be run on an iPhone or an iPad.</p>
  <p><strong>HTML</strong></p>
  <pre><code>&lt;input #input type=&quot;text&quot;&gt;
  
  &lt;button type=&quot;button&quot; (click)=&quot;input.focus()&quot;&gt;Click to set focus on the input&lt;/button&gt;
  </code></pre>
  <p>Here is a small <strong><a href="https://stackblitz.com/edit/angular-u9c7m1" rel="nofollow noreferrer">demo</a></strong> for the issue.</p>