pettiboy/react-ui-scrollspy

Active class not working when section content is dynamic

shmuel-web opened this issue · 1 comments

Active class not working when section content is dynamic

<ScrollSpy offsetBottom={400} scrollThrottle={100} parentScrollContainerRef={this.props.scrollContainer}>
        <section id="system-status">
          {mainStore.proViewShow("system-status") && <div>
              <h2>System Status</h2>
              <Alerts/>
          </div>}
        </section>
</ScrollSpy>

How did you resolve this case sir?