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

Drawer selected list item misses some guidelines #1490

Closed
touficbatache opened this issue Oct 26, 2017 · 4 comments
Closed

Drawer selected list item misses some guidelines #1490

touficbatache opened this issue Oct 26, 2017 · 4 comments
Assignees

Comments

@touficbatache
Copy link
Contributor

touficbatache commented Oct 26, 2017

Bugs

What MDC-Web Version are you using?

0.23.0

What browser(s) is this bug affecting?

All browsers

What OS are you using?

All OS

What are the steps to reproduce the bug?

  1. Go to http://material-components-web.appspot.com/drawer/permanent-drawer-above-toolbar.html
  2. Take a look at the first item

What is the expected behavior?

According to the guidelines, after a list item is selected, that item changes color to match the app’s primary color to indicate selection. Additionally, the touch ripple highlights the row of that list item.

What is the actual behavior?

The list item is selected and only the color changes to match the app’s primary color to indicate selection but the touch ripple doesn't highlight the row of that list item.

Any other information you believe would be useful?

The active state (.mdc-permanent-drawer .mdc-list-item:active::before) of the list item in the drawer has the opacity set to .18, to make it match with the guidelines color just change the opacity to .09 for the selected item.

@lynnmercier
Copy link
Contributor

We're currently working on revisiting some of our guidelines around selected list items. I'll mark this as "needs design guidance" until we have some resolution.

@touficbatache
Copy link
Contributor Author

Hey @lynnjepsen! Any news on this? I'd be happy to work on this and submit a PR. 😃

@kfranqueiro kfranqueiro self-assigned this Dec 11, 2017
@kfranqueiro
Copy link
Contributor

kfranqueiro commented Dec 11, 2017

There are several parts to this, some of which are currently being worked on:

@touficbatache
Copy link
Contributor Author

It seems like this has been fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants