React - Unable to preventDefault inside passive event listener due to target being treated as passive

Viewed 7133

Please read the whole scenario before saying its duplicate.

I have a table and on scrolling down the list this error appears in the console.

Unable to preventDefault inside passive event listener due to target being treated as passive.

I have read all the posts in the stack overflow and they say to set

touch-action : none or passive : false

but I am not sure where to set this in my React component page. I don't have any preventDefault or any onClick action defined.

<div className="row" style={{ width: '94%', marginTop: '-15px' }}>
    <Table structure={this.structure} dataSet={this.filterableDevicesList} sortBy={this.sortBy} order={this.order} hasSelectionColumn={this.hasSelectionColumn} enableSelectAll={this.enableSelectAll}
  ref={(c) => { this.tableWrapper = c; }} height={500} >
    </Table>
</div>

0 Answers
Related