ClickAwayListener problems
Navigate to https://sandbox.genesys-pgr.org/datasets/overview apply any filter.
Every action on the page results in:
vendors.654a4362ab5c142937fe.js:1 Uncaught Invariant Violation: Minified React error #185; visit https://reactjs.org/docs/error-decoder.html?invariant=185 for the full message or use the non-minified dev environment for full errors and additional helpful warnings.
at e.exports (https://sandbox.genesys-pgr.org/vendors.654a4362ab5c142937fe.js:1:714929)
at d (https://sandbox.genesys-pgr.org/vendors.654a4362ab5c142937fe.js:1:1286843)
at ga (https://sandbox.genesys-pgr.org/vendors.654a4362ab5c142937fe.js:1:1365433)
at Object.enqueueSetState (https://sandbox.genesys-pgr.org/vendors.654a4362ab5c142937fe.js:1:1340993)
at n._.setState (https://sandbox.genesys-pgr.org/vendors.654a4362ab5c142937fe.js:1:1282569)
at https://sandbox.genesys-pgr.org/vendors.654a4362ab5c142937fe.js:1:660381
This makes the page unresponsive.
The reason is the ClickAwayListener
in PrettyFilters
calls to setState
.