pnp / pnp/sp-dev-fx-controls-react
People Picker Staying highlighted when "personSelectionLimit" set to 1
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 433
- Forks
- 418
- Avg merge
- 5d 6m
- Merged PRs (30d)
- 19
Description
Category
[ ] Enhancement
[x ] Bug
[ ] Question
Version
Please specify what version of the library you are using: [3.12.0]
Expected / Desired Behavior / Question
When I use the people picker control but limit it to 1 person using the "personSelectionLimit" prop, I would expect that once I have selected the user and then control focus is lost, it would deselect the element (e.g. border would not be hightlight)
Observed Behavior
When I select a user and then select the next input, the people picker (limited to 1) is still highlighted :

Steps to Reproduce
Create two inputs, one being a people picker limited to 1 selection and then create another input (of any type) and then run this and select a person and then switch to the next input
Thanks!
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue with a People Picker limited by the personSelectionLimit prop and a second input, then move focus after selecting one person. Trace the People Picker focus and selection behavior; done when a single selected person no longer leaves the control highlighted after focus moves to the next input.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100