Skip to content
New issue

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

[BUG] Can not write lower case "i" in people picker when used in spfx webpart with a Document Library also in the page #2891

Closed
Theleni-Nex opened this issue Nov 30, 2023 · 3 comments · Fixed by #2892
Assignees
Labels
bug Something isn't working State: In Review

Comments

@Theleni-Nex
Copy link

Theleni-Nex commented Nov 30, 2023

Describe the bug
Using the people picker in a custom webpart in sharepoint. If there is a document library webpart or a list webpart on the same page you can not write the letter "i" in the people picker because it triggers the "Open the details pane" in the document/list webpart.

To Reproduce
Steps to reproduce the behavior:

  1. Add the peoplepicker to an spfx webpart.
  2. Add that webpart to a page.
  3. Add a document library webpart to the same page.
  4. Try to write lowecase "i" in the people picker

Expected behavior
"i" should be written in the peoplepicker and not trigger anyhting.

Screenshots
image

Environment (please complete the following information):

  • Browser: Chrome
  • Framework: spfx, react
  • Context: sharepoint
  • Version: 2.6.1

Additional context
Add any other context about the problem here.

@Theleni-Nex Theleni-Nex added bug Something isn't working Needs: Triage 🔍 labels Nov 30, 2023
@github-project-automation github-project-automation bot moved this to Needs Triage 🔍 in Graph Toolkit Nov 30, 2023
@Theleni-Nex Theleni-Nex changed the title Can not write lower case "i" in people picker when used in spfx webpart [BUG] Can not write lower case "i" in people picker when used in spfx webpart Nov 30, 2023
@gavinbarron gavinbarron self-assigned this Nov 30, 2023
@sebastienlevert
Copy link
Contributor

@Theleni-Nex this is a known issue that we see with SPFx webparts leveraging web components (or web components based libraries, like MGT). This is acknowledged by the SPFx team but can't provide an ETA yet (SharePoint/sp-dev-docs#9005).

Please +1 the issue on the sp-dev-docs repository. Thanks! We'll keep this one open until a resolution happens on the SPFx side.

@gavinbarron gavinbarron changed the title [BUG] Can not write lower case "i" in people picker when used in spfx webpart [BUG] Can not write lower case "i" in people picker when used in spfx webpart with a Document Library also in the page Nov 30, 2023
@gavinbarron
Copy link
Member

In this instance I think that if we stop propagation on the keydown event we'll stop it from getting to the handler that's opening the document library pane and breaking our experience.

I'll need to double check that there's not a good reason why we're not stopping the event from bubbling already though.

@gavinbarron
Copy link
Member

yeah, looks like just an oversight and not that there was an intentional decision to allow the event to bubble up.

@github-project-automation github-project-automation bot moved this from Needs Triage 🔍 to Done ✔️ in Graph Toolkit Nov 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working State: In Review
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

3 participants