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

[DatePicker] onBlur event sent at the start of interaction (rather than at the end) #6944

Closed
wesley6j opened this issue May 24, 2017 · 1 comment
Labels
component: date picker This is the name of the generic UI component, not the React module!

Comments

@wesley6j
Copy link

DatePicker onBlur event sent at the start of interaction.

If DatePicker gets an onBlur prop, it send the prop to its TextField.

However, when a user clicks on the TextField, DatePickerDialog will pop up and TextField will lose focus.

This way, the onBlur event is sent at the beginning of interaction.

onBlur should be triggered when user dismisses DatePickerDialog?

Versions

  • Material-UI: 0.18.1
@oliviertassinari oliviertassinari added the component: date picker This is the name of the generic UI component, not the React module! label May 26, 2017
@oliviertassinari oliviertassinari changed the title DatePicker onBlur event sent at the start of interaction (rather than at the end) [DatePicker] onBlur event sent at the start of interaction (rather than at the end) May 26, 2017
@oliviertassinari
Copy link
Member

Closing for #4787

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

No branches or pull requests

2 participants