-
-
Notifications
You must be signed in to change notification settings - Fork 32.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[material-ui][FilledInput] Remove unused classes from FilledInputClasses interface #44990
base: master
Are you sure you want to change the base?
Conversation
Netlify deploy previewhttps://deploy-preview-44990--material-ui.netlify.app/ Bundle size report |
@@ -5,8 +5,6 @@ import { inputBaseClasses } from '../InputBase'; | |||
export interface FilledInputClasses { | |||
/** Styles applied to the root element. */ | |||
root: string; | |||
/** Styles applied to the root element if color secondary. */ | |||
colorSecondary: string; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Instead of adding the class to the DOM, I chose to remove it here. The fact that no users have reported this issue, even though it has likely existed for a long time (possibly since v5), suggests that it is not widely used. Therefore, I decided to remove the class instead of adding it to the DOM.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same as #44987 (comment)
Can you check #44987 (comment) |
Assigning the review of this PR to @DiegoAndai to make a decision, similar to #44987. |
This PR removes used class from FilledInputClasses interface, removed class isn't present in DOM but present in interface.
I found this while working on deprecation of FilledInput composed classes