react-lightning-design-system
react-lightning-design-system copied to clipboard
Timeouts inside Picklist cause issues with setState
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
Agreed also in DropDown @stomita please explain