title: (click) event is not working only on IOS devices - angular 10 app
body: <p>I noticed that my buttons are not working on the IOS devices, it seems that the click event is not called. Everything is working perfectly on the windows, android, Linux. Since I don't have access to any mac I was trying to debug it on the browserStack, I am getting this error every time I am trying to click the button:</p>
  <p><code>ERROR TypeError: undefined is not an object (evaluating 't.path[4]')</code></p>
  <p>I might be completely wrong, but I think that it might be related with the SVG's rect that is inside of the button (I am using it as a progress bar), on the rect load event I am accessing it to find its length. Maby it is called &quot;too early&quot; so it cannot access the rect correctly. Previously I was using the <code>ngAfterViewInit</code> with the <code>setTimeout</code> inside to manage the same effect.</p>
  <pre class="lang-html prettyprint-override"><code>  &lt;rect
      #rect
      width=&quot;96&quot;
      height=&quot;96&quot;
      rx=&quot;8&quot;
      fill=&quot;none&quot;
      stroke-width=&quot;4&quot;
      [ngStyle]=&quot;{
        'stroke-dasharray': strokeDasharray,
        'stroke-dashoffset': strokeDashoffset
      }&quot;
      (load)=&quot;getRectLength()&quot;
    /&gt;
  </code></pre>
  <pre class="lang-js prettyprint-override"><code>  getRectLength() {
      this.length = this.rect.nativeElement.getTotalLength();
      this.strokeDasharray = this.length;
    }
  </code></pre>
  <p><strong>Code:</strong> <br>
  <a href="https://github.com/mateuszkornecki/chess-clock/tree/master/src" rel="nofollow noreferrer">https://github.com/mateuszkornecki/chess-clock/tree/master/src</a></p>
  <p><strong>Live demo:</strong><br>
  <a href="https://mateuszkornecki.github.io/chess-clock/settings" rel="nofollow noreferrer">https://mateuszkornecki.github.io/chess-clock/settings</a></p>
  <p><strong>Steps to reproduce:</strong> <br>
  Simply click on one of the big buttons with the counter, after a click it should start counting.</p>
  <p>I tested it on several IOS devices, it was not working on everyone regardless of the IOS version. That's my first project made with Angular so there is a chance that I've made a simple mistake. Any help will be appreciated!</p>