| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
|
PatternFly-React preview: https://patternfly-react-pr-2848.surge.sh |
Sorry, something went wrong.
| }); | ||
| } | ||
|
|
||
| if (prevProps.selections !== this.props.selections) { |
There was a problem hiding this comment.
Change to if (prevProps.selections !== this.props.selections && this.state.typeaheadActiveChild) {
Sorry, something went wrong.
|
|
||
| if (prevProps.selections !== this.props.selections) { | ||
| this.setState({ | ||
| typeaheadInputValue: (this.state.typeaheadActiveChild && this.state.typeaheadActiveChild.innerText) |
There was a problem hiding this comment.
Change to typeaheadInputValue: this.state.typeaheadActiveChild.innerText.
Sorry, something went wrong.
|
Thanks @redallen, moved check in the latest commit :) |
Sorry, something went wrong.
There was a problem hiding this comment.
Looks good
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
What: This fixes selections prop being properly displayed if updated externally.
Additional issues: Fixes #2828