-
Notifications
You must be signed in to change notification settings - Fork 2.9k
People picker edge keyboarding #1496
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
Changes from 6 commits
1a84572
7b7ce7b
48b8b56
95e1bb0
d50220f
4089137
62cb3d5
b21e8d2
76cc42a
d261ffe
759b02d
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,10 @@ | ||
| { | ||
| "changes": [ | ||
| { | ||
| "packageName": "office-ui-fabric-react", | ||
| "comment": "PeoplePicker: Adding vertical-align styles and horizontal only keyboarding to the member list people picker focus zone.", | ||
| "type": "patch" | ||
| } | ||
| ], | ||
| "email": "v-krbrow@microsoft.com" | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -44,4 +44,5 @@ | |
|
|
||
| .itemContainer { | ||
| display: inline-block; | ||
| vertical-align: top; | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is this really necessary?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It is in Edge. Without it, items can get out of alignment as you keyboard through them.
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. yes it is!!! any time you inline-block, you should strongly, strongly consider setting vertical alignment. Otherwise the browser will shuffle the div around trying to align its containing text with other text. |
||
| } | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
David mentioned that we really shouldn't be setting this to be just horizontal. If we need to fix alignment or something like that then we should do that.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If that is the case I can back this portion out, however there are a couple issues that will need attention if we don't switch this to horizontal:
Switching to horizontal remedies both of these problems, but at the expense of the up and down keys. So it may be a cleaner, more permanent solution to address these two issues separately instead of using horizontal here. My suspicion is that issue 1 is an Edge bug and issue 2 may be a problem with that specific picker implementation.