react-lightning-design-system icon indicating copy to clipboard operation
react-lightning-design-system copied to clipboard

Timeouts inside Picklist cause issues with setState

Open aurbano opened this issue 9 years ago • 1 comments

Having calls to setState(...) inside of timeouts in the Pickselect component would trigger the typical error:

Can only update a mounted or mounting component. This usually means you called setState() on an unmounted component. This is a no-op. Please check the code for the undefined component.

I've submitted PR #127 to fix this issue

aurbano avatar Nov 18 '16 17:11 aurbano

Agreed also in DropDown @stomita please explain

ButuzGOL avatar Nov 19 '16 08:11 ButuzGOL