fluentui icon indicating copy to clipboard operation
fluentui copied to clipboard

Contextual menu selected items are not to spec

Open betrue-final-final opened this issue 9 years ago • 24 comments

Are you willing to submit a PR to fix? (Yes)

Requested priority: (Normal)

Products/sites affected: (if applicable) OneDrive and SharePoint. Soon to be Outlook

The selected items currently have a grey background and blue check. There should be no background and neutral check. Build: image

Spec: image

betrue-final-final avatar Oct 26 '17 21:10 betrue-final-final

@betrue-final-final do selected items have the same background colors for hover and focus states that are shown above for the unchecked items?

I'm assuming yes, but the change I just did undid that so thought I'd double check before fixing :)

lynamemi avatar Oct 27 '17 17:10 lynamemi

Yes selected and unselected use the same states.

betrue-final-final avatar Oct 27 '17 17:10 betrue-final-final

@betrue-final-final combo boxes have a similar visual paradigm, do the styles there change as well?

phkuo avatar Oct 28 '17 01:10 phkuo

Combo box should be based on dropdown, so thought I would fix that first.

betrue-final-final avatar Oct 28 '17 01:10 betrue-final-final

Reopening to track fixing combo box styles as well.

phkuo avatar Nov 01 '17 21:11 phkuo

Sorry, got distracted by bundle size issues and forgot to do this!

lynamemi avatar Nov 01 '17 22:11 lynamemi

Just curious when this may be fixed and updated in Fabric? I see this bug all over OWA and it looks pretty bad.

suztocco avatar Nov 06 '17 19:11 suztocco

@lynamemi fixed dropdowns already last week, but somebody still needs to fix combo boxes

phkuo avatar Nov 06 '17 19:11 phkuo

I can take a look at making the same change to combo boxes today and tomorrow.

lynamemi avatar Nov 06 '17 21:11 lynamemi

@betrue-final-final @lynamemi - Just a comment that the main items on the context menus don't usually have a "selected" state bg color other than "checkmark" (except for if a submenu is selected). At least to my knowledge. Just want to make sure things don't get overwritten in certain areas that shouldn't be. Ben knows the specs but just wanted to call it out as I am not sure what all is being affected here.

suztocco avatar Nov 06 '17 22:11 suztocco

Yes, that's what we're fixing.

betrue-final-final avatar Nov 06 '17 22:11 betrue-final-final

Someone else has been assigned to the issue in #3252

lynamemi avatar Nov 06 '17 22:11 lynamemi

Just wanted to check on an ETA on this.

We are launching our Outlook Calendar React Beta within the month and this component is used across the site.

adding @melvsparks (our dev) for visibility

suztocco avatar Nov 10 '17 23:11 suztocco

I have been getting blocked by a couple code issues, but I am mostly there. I can go ahead and checkin what I have now and file a separate issue for the specific focus bug that is still outstanding.

lynamemi avatar Nov 10 '17 23:11 lynamemi

Thanks for replying. Also, not sure if noted somewhere but there is also a "press" state that is showing up in the control that isn't there in the design file. The hover and press are the same color from what I see.

image @betrue-final-final can clarify. I know if there is a submenu and it is selected that the bg is darker

suztocco avatar Nov 10 '17 23:11 suztocco

Suz is correct about not having a pressed state. It should be same as hover. The origin of a submenu would be selected.

betrue-final-final avatar Nov 11 '17 00:11 betrue-final-final

@betrue-final-final @lynamemi - Not sure if it was noted here but I have mentioned quite a few times that the submenu selected text is not semi-bold in the XD files but appears as so in code. Color looks pretty dark for the BG as well. image

image

suztocco avatar Nov 20 '17 22:11 suztocco

I am looking into fixing this (the fix is straight forward), but I'm getting a weird scroll issue in my master branch that I need to figure out first. If someone else takes the font and background issue on, let me know.

lynamemi avatar Nov 21 '17 18:11 lynamemi

Found the scroll bug! Someone replaced an example in a recent PR by mistake - should be able to get this fix in soon.

lynamemi avatar Nov 21 '17 18:11 lynamemi

@suztocco , you can see the update if you follow the PR link referenced above.

lynamemi avatar Nov 21 '17 19:11 lynamemi