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

[SelectField] underlineFocusStyle not getting applied #5470

Closed
garrettn opened this issue Oct 25, 2016 · 1 comment
Closed

[SelectField] underlineFocusStyle not getting applied #5470

garrettn opened this issue Oct 25, 2016 · 1 comment
Labels
component: select This is the name of the generic UI component, not the React module!

Comments

@garrettn
Copy link

Problem description

For my application I need to style the SelectField so that the clickable part with the underline is full width while the menu has an auto width. When you do that, though, you can see that the underlineFocusStyle isn't being applied while the menu is open. I would expect the color of the underline to change while I have the select menu open.

Using the React DevTools I found that the underlying TextField never changes is state of isFocused to true, so the focused version of the underline never becomes visible. Is that intentional? I need to have the underline a different color while the menu is open.

Link to minimally-working code that reproduces the issue

http://www.webpackbin.com/Vkm1ipOyz

Versions

  • Material-UI: 0.16.0
  • React: 15.3.2
  • Browser: FF 51 and Chrome 54 for Mac

Thank you!

@oliviertassinari oliviertassinari added the component: select This is the name of the generic UI component, not the React module! label Mar 26, 2017
@Chengwen
Copy link

'underlineFocusStyle' is applied in IE but not in Chrome.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: select This is the name of the generic UI component, not the React module!
Projects
None yet
Development

No branches or pull requests

3 participants