title: How to handle events on the extra space in a flexbox?
body: <p>How to handle the events when someone clicks(mouse click) on the violet color space around the elements ?
  Putting a general onclick on the container is overriding the individual item behaviors (they all have their internal onclick handlers). Any other way to solve this ?</p>
  <p><a href="https://i.stack.imgur.com/TbYdW.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/TbYdW.png" alt="enter image description here" /></a></p>
  <p>Edit:</p>
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;Grid onClick={ClickHandler} container direction="row"&gt;
    &lt;Grid item&gt;
      // Filter Screen that has buttons, checkboxes
    &lt;/Grid&gt;
    &lt;Grid item&gt;
      ............
    &lt;/Grid&gt;
  &lt;/Grid&gt;</code></pre>
  </div>
  </div>
  </p>
  <p>The problem here is the container ClickHandler just overrides all the clickhandlers that the filter screen has. So that tactic was not successful.</p>