react-lazy-load icon indicating copy to clipboard operation
react-lazy-load copied to clipboard

Unable to find node on an unmounted component

Open shablenko opened this issue 6 years ago • 3 comments

I am trying to trigger click on button every time it shows to user, everything works, but i am receiving following error

Any ideas how to fix?

image

!this.props.busy && this.props.loadMore &&
<LazyLoad onContentVisible={this.props.onLoadMore}>
      <button onClick={this.props.onLoadMore} />
</LazyLoad>

shablenko avatar Jan 09 '18 17:01 shablenko

same issue

sheerun avatar Jul 30 '18 18:07 sheerun

did you check event binding? like this.onClick = this.onClick.bind(this);

yogihanu avatar Nov 24 '18 04:11 yogihanu

Maybe related to suspense

otakustay avatar Nov 06 '20 09:11 otakustay