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
As discussed in #41860 (comment), we should try to normalize the way UnitControl applies the className prop to its internal markup — in particular, the general expectation is that className applies to the outer wrapper (which is currently not the case).
This refactor would also include changes to the recently introduced __unstableWrapperClassName prop.
One option that could be worth exploring could be to remove the outer wrapper altogether, which would allow us to simplify the styles with minimal disruption.
The text was updated successfully, but these errors were encountered:
I have a PR up exploring the removal of the UnitControl's outer wrapper in #45139. Depending on any feedback for it, it might be better to be rolled into #41860
As discussed in #41860 (comment), we should try to normalize the way
UnitControl
applies theclassName
prop to its internal markup — in particular, the general expectation is thatclassName
applies to the outer wrapper (which is currently not the case).This refactor would also include changes to the recently introduced
__unstableWrapperClassName
prop.One option that could be worth exploring could be to remove the outer wrapper altogether, which would allow us to simplify the styles with minimal disruption.
The text was updated successfully, but these errors were encountered: