-
-
Notifications
You must be signed in to change notification settings - Fork 32.3k
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
[DatePicker] Datepicker not opening with floatingLabelText set #3908
Comments
I was looking into this and it appears the label that is generated using floatingLabelText has a z-index of 1. If I change it to 0 it works as intended. Also, are you able to make floatingLabelText an official documented prop on the doc site please :) |
@BinaryWasteland - please submit a PR for these changes. (property docs are taken from the code comment above the relevant prop.) |
Another way to fix this is to disable pointerEvents (from #4218 ) floatingLabelStyle={{pointerEvents: 'none'}} |
Problem Description
DatePicker with floatingLabelText does not allow me to open the datepicker when clicking where the floatingLabelText is located.
Code I am using right now for the DatePicker:
Versions
Material-UI: 0.14.4
React: 0.14.7
Browser: Chrome
The text was updated successfully, but these errors were encountered: