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

[TextField] Floating label is not clickable #2115

Closed
steverandy opened this issue Nov 10, 2015 · 20 comments
Closed

[TextField] Floating label is not clickable #2115

steverandy opened this issue Nov 10, 2015 · 20 comments
Labels
bug 🐛 Something doesn't work

Comments

@steverandy
Copy link

Steps to reproduce:

  1. Go to http://material-ui.com/#/components/text-fields
  2. Click on the text field sample (first row, second column), specifically on the floating label

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

@Grmiade
Copy link

Grmiade commented Nov 13, 2015

+1

@vijayrawatsan
Copy link

+1
Also cursor should be default instead of auto. Just like hint text.

@oliviertassinari
Copy link
Member

Yeap, we should improve this!

@mattkrick
Copy link

+1
cursor: text
user-select: none (needs prefixes)
onClick focuses the input.
can submit PR if needed.

@bendiy
Copy link

bendiy commented Nov 18, 2015

Duplicate of: #1011

@flyon
Copy link

flyon commented Nov 23, 2015

+1, only happens first time you try to click. after clicking besides the label and losing focus again it works correctly

@oliviertassinari
Copy link
Member

#2228 is supposed to fix this. Can you confirm?

@JasonWeiseUnreal
Copy link

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.

@otroboe
Copy link

otroboe commented Nov 26, 2015

It works for me, only on TextField !
But the fix was only for TextField :p

@alitaheri alitaheri added the bug 🐛 Something doesn't work label Dec 9, 2015
@zachguo
Copy link
Contributor

zachguo commented Dec 11, 2015

It's working for TextField but not for SelectField & DatePicker. v0.14.0-rc1

@piotr-dobrogost
Copy link

@zachguo Would you mind raising this (not working for SelectField) as a separate bug? I believe it's different than issue #1011.

@zachguo
Copy link
Contributor

zachguo commented Dec 14, 2015

@piotr-dobrogost see #2517

@newoga
Copy link
Contributor

newoga commented Jan 16, 2016

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!

@mbrookes
Copy link
Member

Fixed in #2228. See #2201 for DatePicker issue.

@raphaelparent
Copy link

@flyon @CoveTechnologyAus How did you fix that? I am on version 0.14.4 and I'm having this problem.

@mbrookes
Copy link
Member

mbrookes commented Mar 1, 2016

Current pre-release version is 0.15.0-alpha.1

@raphaelparent
Copy link

@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.

@jackyon
Copy link

jackyon commented Apr 24, 2016

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.

@jackyon
Copy link

jackyon commented Apr 25, 2016

sorry, new version did work, it fixed the issue.

@lamaslam
Copy link

lamaslam commented May 20, 2016

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Something doesn't work
Projects
None yet
Development

No branches or pull requests