Bug Report
- Package version(s): 5.45.3
- Browser and OS versions: IE11 (11.125.16299.0)
Priorities and help requested
Requested priority: Normal
Describe the issue:
-
Use following code with any itemLimit:
<NormalPeoplePicker
onChange={(val) => {}}
onResolveSuggestions={this._onFilterChanged}
itemLimit={5} />
(_onFilterChanged implementation is from PeoplePicker example on
https://developer.microsoft.com/en-us/fabric#/components/peoplepicker)
-
Write something in the people picker
-
See suggestions
-
First one is automatically highlighted
-
Hit enter or tab on keyboard (do not use mouse)
Actual behavior:
Component rendering crashes with following error:
Exception in NormalPeoplePicker.render(): TypeError: Unable to get property 'inputElement' of undefined or null reference
at BasePicker.prototype.renderSuggestions (.../Scripts/submit-content-for-approval.js:42290:10)
at BasePicker.prototype.render (.../Scripts/submit-content-for-approval.js:42272:10)
at obj[methodName] (.../Scripts/submit-content-for-approval.js:16994:22)
at h (.../lib/react/react-dom.production.min.js:130:356)
at beginWork (.../lib/react/react-dom.production.min.js:133:473)
at d (.../lib/react/react-dom.production.min.js:158:387)
at f (.../lib/react/react-dom.production.min.js:159:212)
at g (.../lib/react/react-dom.production.min.js:159:462)
at t (.../lib/react/react-dom.production.min.js:167:1)
at x (.../lib/react/react-dom.production.min.js:166:247)
Expected behavior:
The item is selected the same way as by clicking it.
Note that this works fine on all other common browsers, like Chrome, Firefox, even Edge.
Bug Report
Priorities and help requested
Requested priority: Normal
Describe the issue:
Use following code with any itemLimit:
<NormalPeoplePicker
onChange={(val) => {}}
onResolveSuggestions={this._onFilterChanged}
itemLimit={5} />
(_onFilterChanged implementation is from PeoplePicker example on
https://developer.microsoft.com/en-us/fabric#/components/peoplepicker)
Write something in the people picker
See suggestions
First one is automatically highlighted
Hit enter or tab on keyboard (do not use mouse)
Actual behavior:
Component rendering crashes with following error:
Exception in NormalPeoplePicker.render(): TypeError: Unable to get property 'inputElement' of undefined or null reference
at BasePicker.prototype.renderSuggestions (.../Scripts/submit-content-for-approval.js:42290:10)
at BasePicker.prototype.render (.../Scripts/submit-content-for-approval.js:42272:10)
at obj[methodName] (.../Scripts/submit-content-for-approval.js:16994:22)
at h (.../lib/react/react-dom.production.min.js:130:356)
at beginWork (.../lib/react/react-dom.production.min.js:133:473)
at d (.../lib/react/react-dom.production.min.js:158:387)
at f (.../lib/react/react-dom.production.min.js:159:212)
at g (.../lib/react/react-dom.production.min.js:159:462)
at t (.../lib/react/react-dom.production.min.js:167:1)
at x (.../lib/react/react-dom.production.min.js:166:247)
Expected behavior:
The item is selected the same way as by clicking it.
Note that this works fine on all other common browsers, like Chrome, Firefox, even Edge.