title: Switch componenet not working in React-grid-layout
body: <p>i tried to use switch component inside grid with react-grid-layout, but not working.</p>
  <pre><code>                    &lt;Grid
                      key=&quot;5&quot;
                      data-grid={{ w: 2, h: 6, x: 0, y: 0, minW: 2, minH: 5 }}
                      style={{ backgroundColor: 'white', padding: '2rem', borderRadius: '10px'}}
                  &gt;
                      &lt;Stack &gt;
                      &lt;CustomSwitch style={{zIndex: 99999999, cursor: 'pointer', position: 'relative'}}/&gt;
                      &lt;/Stack&gt;
                  &lt;/Grid&gt;
  </code></pre>
  <p><a href="https://i.stack.imgur.com/YpzTz.png" rel="nofollow noreferrer">image</a></p>