<p dir="auto">The deployed (minimal, trimmed down) app is at:</p>
<p dir="auto"><a href="http://www.baharev.info/sandbox/eventbug/" rel="nofollow">http://www.baharev.info/sandbox/eventbug/</a></p>
<p dir="auto">and the entire source code is at:</p>
<p dir="auto"><a href="https://github.com/baharev/eventbug">https://github.com/baharev/eventbug</a></p>
<p dir="auto">Clicking or touching either square should make the clicked / touched square disappear, but only that square. Everything works as intended on my desktop machine both in Chrome and in Firefox. It also shows the correct behavior in Safari on iOS (and I don't care about IE or Edge).</p>
<p dir="auto">The following triggers the bug in Chrome, either on an Android tablet, or on my desktop machine when emulating a hand-held device. Reload the app, and touch or click the top (blue) square: Both squares disappear, and in the console log I see that <strong>the not clicked, and not touched bottom green square received a spurious mousedown event</strong> (which then deleted it).</p>
<p dir="auto">There is <code class="notranslate">touch-action: none;</code> in the app.css applied on the squares.  If I didn't use it, I would get the following warning in Chrome when emulating a hand-held device:</p>
<blockquote>
<p dir="auto">[Intervention] Unable to preventDefault inside passive event listener due to target being treated as passive. See:  <a href="https://www.chromestatus.com/features/5093566007214080" rel="nofollow">https://www.chromestatus.com/features/5093566007214080</a></p>
</blockquote>
<p dir="auto">With <code class="notranslate">touch-action: none;</code> (the way it is in the deployed app), this warning goes away.</p>
<ol dir="auto">
<li>Is the ghost mousedown event due to a bug in my code?</li>
<li>Or is it a bug in React?</li>
<li>Or is it a bug in Chrome?</li>
<li>How can I resolve this issue? (I am looking for a workaround if the bug is not in my code.)</li>
</ol>
<p dir="auto">Describe what you were doing when the bug occurred:</p>
<ol dir="auto">
<li>I opened my project ("react": "16.9.0")</li>
<li>Start profiling</li>
<li>Do my actions<br>
4, Stop profiling</li>
</ol>
<hr>
<h2 dir="auto">Please do not remove the text below this line</h2>
<p dir="auto">DevTools version: 4.7.0-23309eb38</p>
<p dir="auto">Call stack: at N (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:40:164715)<br>
at I (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:40:163705)<br>
at e.getCommitTree (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:40:166664)<br>
at Ul (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:40:342328)<br>
at gi (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:32:62450)<br>
at tl (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:32:71793)<br>
at zl (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:32:113765)<br>
at Ic (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:32:104502)<br>
at Tc (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:32:104430)<br>
at Dc (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:32:104298)</p>
<p dir="auto">Component stack: at Ul (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:40:342099)<br>
at div<br>
at div<br>
at div<br>
at Co (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:40:263571)<br>
at chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:40:366677<br>
at n (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:40:276314)<br>
at chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:40:278724<br>
at div<br>
at div<br>
at Xi (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:40:325177)<br>
at Ge (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:40:207026)<br>
at sn (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:40:216342)<br>
at Va (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:40:293773)<br>
at us (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:40:371869)</p>