mui/material-ui

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

Closed this issue · 1 comments

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

Closing for #4787