title: Rechart tooltip issue: shows background elements
body: <p>I have  3 bar charts one by one.
  and i have to show custom tooltip but it shows background content when it height is higher than the bar chart.
  this is the custom tooltip component</p>
  <pre><code>const CustomTooltip = ({ active, payload, label }: any) =&gt; {
      return (
        &lt;div className=&quot;custom-tooltip&quot;&gt;
          &lt;p className=&quot;label&quot;&gt;{`${label} : ${payload[0].value}`}&lt;/p&gt;
          &lt;p className=&quot;intro&quot;&gt;{getIntroOfPage(label)}&lt;/p&gt;
          &lt;p className=&quot;desc&quot;&gt;Anything you want can be displayed here.&lt;/p&gt;
          &lt;p className=&quot;desc&quot;&gt;Anything you want can be displayed here.&lt;/p&gt;
          &lt;p className=&quot;desc&quot;&gt;Anything you want can be displayed here.&lt;/p&gt;
          &lt;p className=&quot;desc&quot;&gt;Anything you want can be displayed here.&lt;/p&gt;
          &lt;p className=&quot;desc&quot;&gt;Anything you want can be displayed here.&lt;/p&gt;
          &lt;p className=&quot;desc&quot;&gt;Anything you want can be displayed here.&lt;/p&gt;
          &lt;p className=&quot;desc&quot;&gt;Anything you want can be displayed here.&lt;/p&gt;
          &lt;p className=&quot;desc&quot;&gt;Anything you want can be displayed here.&lt;/p&gt;
          &lt;p className=&quot;desc&quot;&gt;Anything you want can be displayed here.&lt;/p&gt;
          &lt;p className=&quot;desc&quot;&gt;Anything you want can be displayed here.&lt;/p&gt;
          &lt;p className=&quot;desc&quot;&gt;Anything you want can be displayed here.&lt;/p&gt;
          &lt;p className=&quot;desc&quot;&gt;Anything you want can be displayed here.&lt;/p&gt;
        &lt;/div&gt;
      );
  };
  </code></pre>
  <p>see below <a href="https://codesandbox.io/s/tooltip-with-customized-content-forked-mtsi2" rel="nofollow noreferrer">sandbox</a> for demo.
  Please guide how to resolve this.</p>