-
Notifications
You must be signed in to change notification settings - Fork 379
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
People Picker inside Dialog #262
Comments
Category Version Expected / Desired Behavior / Question When using a people picker inside a SPFx Dialog the control only accepts the first suggested user even if a different user is selected. Steps to Reproduce Place a people picker inside a dialog -> Open the dialog and click on the picker. enter text to search user. click on user from the list options (not the 1st suggested user). on selection change, irrespective of selected user the 1st user from the suggestion list options will be selected. |
Hi @cwdata, Based on latest version of the Controls (3.15.0), it works now (both first focus and selecting any name in the suggestion list). Can you try on your side and tell me if it works for you? |
Hi @JEEVANJGA, If it's not already the case, I think it would be better to separate @cwdata issue from yours by creating a new one dedicated to your problem 🙂 Just to be sure: did you have the opportunity to try again with latest version of the Controls? I'm not familiar with Material UI but as the Controls are strongly relying on Fluent UI (Office UI Fabric new name), I'm not super confident about its compatibility with the library you're refering to. |
Hi @michaelmaillot, |
Category
[ ] Enhancement
[ ] Bug
[X] Question
Version
Please specify what version of the library you are using: [ 1.11.0 ]
Expected / Desired Behavior / Question
When using a people picker inside a SPFx Dialog the control only accepts input after the second mouse click. This is a known bug in Office UI fabric version 5. It has been fixed in version 6.143.0 (Ref: microsoft/fluentui#7992)
So we upgraded other projects to version 6 and the problem is indeed solved. But what can we do when using the reusable controls? Upgrading UI fabric seems not to be an option here. What do others do when using the picker inside of a dialog? Is there maybe a special version of UI fabric 5 that has this issue fixed?
Steps to Reproduce
Place a people picker inside a dialog -> Open the dialog and click on the picker. It doesn't respond to the first click, only when you click it for the second time or click somewhere else inside the dialog before clicking the picker.
The text was updated successfully, but these errors were encountered: