Steps to reproduce:
Actual: Clicking on the floating label the first time does not focus the field
Expected: Clicking on the floating label for the first time should focus the field input
+1
+1
Also cursor should be default instead of auto. Just like hint text.
Yeap, we should improve this!
+1
cursor: text
user-select: none (needs prefixes)
onClick focuses the input.
can submit PR if needed.
Duplicate of: https://github.com/callemall/material-ui/issues/1011
+1, only happens first time you try to click. after clicking besides the label and losing focus again it works correctly
I am still having issues with this.
As per flyon's comment, only happens first time you try to click. after clicking besides the label and losing focus again it works correctly this is definitely still occurring.
It works for me, only on TextField !
But the fix was only for TextField :p
It's working for TextField but not for SelectField & DatePicker. v0.14.0-rc1
@zachguo Would you mind raising this (not working for _SelectField_) as a separate bug? I believe it's different than issue #1011.
@piotr-dobrogost see #2517
Now that we now have #2517 for the SelectField component, can someone confirm whether there any outstanding issues relating to this with the TextField component?
I'd like to close this or clarify what the remaining problems are. Thanks!
Fixed in #2228. See #2201 for DatePicker issue.
@flyon @CoveTechnologyAus How did you fix that? I am on version 0.14.4 and I'm having this problem.
Current pre-release version is 0.15.0-alpha.1
@mbrookes I know, but I'm building something that will be use in production and I don't want to rely on a pre-release version.
Since it was closed on November 17th (around 3 1/2 months ago) and that there's mention of this working in 0.14.0-rc1, I just thought that this was fix in the 0.14.4, if not I'll just wait for the official release of 0.15.0 to be available.
that's weird, I have upgrade to the next version "0.15.0-beta.2", but the issue still exist, is there any solution for this?
plz advise. thx.
sorry, new version did work, it fixed the issue.
it is not fixed for SelectField, I tested with the v0.15.0 example on the official site http://www.material-ui.com/#/components/select-field.
when I click inside "Floating Label Text", no menu pops.
Most helpful comment
it is not fixed for SelectField, I tested with the v0.15.0 example on the official site http://www.material-ui.com/#/components/select-field.
when I click inside "Floating Label Text", no menu pops.