We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ChipSet.adapter.setSelected method calls setState({selectedChipIds: foundation.getSelectedChipIds})
setState({selectedChipIds: foundation.getSelectedChipIds})
foundation.getSelectedChipIds
push
state.selectedChipIds
temporary fix is to copy foundation.getSelectedChipIds() before calling props.handleSelect() in adapter.setSelected
foundation.getSelectedChipIds()
props.handleSelect()
adapter.setSelected
The text was updated successfully, but these errors were encountered:
No branches or pull requests
ChipSet.adapter.setSelected method calls
setState({selectedChipIds: foundation.getSelectedChipIds})
foundation.getSelectedChipIds
is that it alters the selectedChipIds array bypush
'ingstate.selectedChipIds
is updated before componentDidUpdate is called.temporary fix is to copy
foundation.getSelectedChipIds()
before callingprops.handleSelect()
inadapter.setSelected
The text was updated successfully, but these errors were encountered: