You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently style applies to the outer element on both DatePicker and TimePicker, but className only applies to the outer element for DatePicker, and flows down to the inner element for TimePicker, which makes this feel somewhat inconsistent.
In #4250, the className property was added to DatePicker so that it applies to the outer div rather than flowing down to the inner elements. Should this also be applied to TimePicker?
Steps to reproduce
Instantiate both a DatePicker and TimePicker element with className and style properties, inspect rendered markup. This is also evident in the respective component files.
Versions
Material-UI: 0.15.0
React: 15.1.0
Browser: Chrome
The text was updated successfully, but these errors were encountered:
oliviertassinari
changed the title
TimePicker ClassName application not consistent with DatePicker
[TimePicker] ClassName application not consistent with DatePicker
May 16, 2017
Problem description
Currently
style
applies to the outer element on bothDatePicker
andTimePicker
, butclassName
only applies to the outer element forDatePicker
, and flows down to the inner element forTimePicker
, which makes this feel somewhat inconsistent.In #4250, the
className
property was added toDatePicker
so that it applies to the outer div rather than flowing down to the inner elements. Should this also be applied to TimePicker?Steps to reproduce
Instantiate both a DatePicker and TimePicker element with className and style properties, inspect rendered markup. This is also evident in the respective component files.
Versions
The text was updated successfully, but these errors were encountered: