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 the APIs of the components SelectableTile and RadioTile are behaving inconsistent in terms of where to forward the spread misc properties (...other/...rest) to. This results in e.g. the style property being passed to the label element in SelectableTile and to the (invisible) input element in RadioTile. While #5946 suggested an extraction of the style property @asudoh and me had the opinion that it would be a better to resolve the inconsistency of the components as a whole. This can be done via forwarding the misc properties to the equivalent elements, but this would cause a breaking change.
This issues purpose is to discuss the solution for resolving the inconsistency.
Relevant information
Currently a functional workaround is to use DOM refs to pass HTML attributes manually to the underlaying elements.
The text was updated successfully, but these errors were encountered:
carbon-components
carbon-components-react
Summary
Currently the APIs of the components SelectableTile and RadioTile are behaving inconsistent in terms of where to forward the spread misc properties (
...other
/...rest
) to. This results in e.g. the style property being passed to the label element in SelectableTile and to the (invisible) input element in RadioTile. While #5946 suggested an extraction of the style property @asudoh and me had the opinion that it would be a better to resolve the inconsistency of the components as a whole. This can be done via forwarding the misc properties to the equivalent elements, but this would cause a breaking change.This issues purpose is to discuss the solution for resolving the inconsistency.
Relevant information
Currently a functional workaround is to use DOM refs to pass HTML attributes manually to the underlaying elements.
The text was updated successfully, but these errors were encountered: