title: Cypress: How to do a cy.type without a click
body: <p>I'm curious as to why cypress seems to be triggering a click at the beginning of the .type() command. Here's the whole command I'm trying to run:</p>
  <pre><code>cy.contains(&quot;.rt-tr&quot;, &quot;Taoh&quot;).type(&quot;{downarrow}&quot;);
  </code></pre>
  <p>Unfortunately as you can see in the picture below, this type action seems to trigger a click:
  <a href="https://i.stack.imgur.com/r1Z2e.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/r1Z2e.jpg" alt="debugger stack of click event being fired when the cy.type command is run " /></a></p>
  <p>I can potentially understand why that might make sense in order to bring that element into focus, but what about if that element IS already focused.</p>
  <p>I tried doing</p>
  <pre><code>cy.contains(&quot;.rt-tr&quot;, &quot;Taoh&quot;).click().type(&quot;{downarrow}&quot;);
  </code></pre>
  <p>And it seems to trigger 2 click events. This is confusing to me. Any way to avoid that click would be appreciated. Thanks!</p>