-
-
Notifications
You must be signed in to change notification settings - Fork 32.7k
Closed
Labels
scope: selectChanges related to the select.Changes related to the select.type: bugIt doesn't behave as expected.It doesn't behave as expected.
Description
- [x ] The issue is present in the latest release.
- [x ] I have searched the issues of this repository and believe that this is not a duplicate.
Current Behavior 😯
When supplying classes to the Select component they are passed directly to the input element, skipping the root, which means that we can't style it properly using the classes, and must use the className instead, which is directed to the root component.
Expected Behavior 🤔
The classes should be passed to the root InputComponent directly, as described in the documentation.
Steps to Reproduce 🕹
https://codesandbox.io/s/sad-napier-sx976?file=/src/App.js:0-1111
Steps:
- Open link and see that there are 2 selects, 1 is receiving the classes directly and the other receives the classes.root as className. They should look the same but they are different.
Context 🔦
This effects the uniformity of our code, as we are normally using the classes directly to increase readability and managing of the generated classes.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
scope: selectChanges related to the select.Changes related to the select.type: bugIt doesn't behave as expected.It doesn't behave as expected.