Skip to content
This repository has been archived by the owner on Jan 13, 2025. It is now read-only.

MDC Select limitation: Focus state doesn't work for CSS-only selects #1727

Closed
kfranqueiro opened this issue Dec 7, 2017 · 1 comment
Closed

Comments

@kfranqueiro
Copy link
Contributor

kfranqueiro commented Dec 7, 2017

In MDC Select's DOM structure, the element that receives focus is not the element that ripple/states styles are hooked up to. The element that receives focus is above the ripple surface element, which means :focus-within won't work either.

Solving this would require either rethinking the DOM structure, or seeing if we can get away with attaching the ripple to the root element instead (as mentioned in #1725).

This is sort of overshadowed by #1726 anyway, but this issue would still exist even if that were fixed.

@lynnmercier
Copy link
Contributor

Closing as obsolete because CSS only version is removed with #2116

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

No branches or pull requests

2 participants