Skip to content
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

[Table] Padding attribute getting added to native element #12504

Closed
2 tasks done
JoshuaLicense opened this issue Aug 13, 2018 · 0 comments
Closed
2 tasks done

[Table] Padding attribute getting added to native element #12504

JoshuaLicense opened this issue Aug 13, 2018 · 0 comments
Labels
bug 🐛 Something doesn't work component: table This is the name of the generic UI component, not the React module!

Comments

@JoshuaLicense
Copy link
Contributor

  • This is a v1.x issue.
  • I have searched the issues of this repository and believe that this is not a duplicate.

Expected Behavior

It shouldn't get applied to the native element, and just set under the getChildContext(), and then extracted to not be included in the ...other.

Current Behavior

The prop padding is getting spread to the <table> native element.

<table ... padding="dense">
...
</table>

Steps to Reproduce

Can be reproduced in the docs, all the Table examples have padding="..." attribute applied on the native <table> element.

Your Environment

Tech Version
Material-UI v1.5.0
@oliviertassinari oliviertassinari added bug 🐛 Something doesn't work component: table This is the name of the generic UI component, not the React module! labels Aug 13, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Something doesn't work component: table This is the name of the generic UI component, not the React module!
Projects
None yet
Development

No branches or pull requests

2 participants