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

Fixes #63 : Do not propagate component specific props to div #67

Merged
merged 1 commit into from Aug 1, 2016
Merged

Fixes #63 : Do not propagate component specific props to div #67

merged 1 commit into from Aug 1, 2016

Conversation

abalhier
Copy link
Contributor

@abalhier abalhier commented Jul 20, 2016

See issue Hacker0x01/react-datepicker#517 and Dan Abramov (gaearon) comments

@abalhier abalhier changed the title Fixes #63 : Specify only necessary properties to div Fixes #63 : Do not propagate component specific props to div Jul 20, 2016
@abalhier
Copy link
Contributor Author

I used pick in my first version of the pull request. But by using lodash omit, it allows to propagate className and style and other props which maybe supported by a div.

@tomchentw
Copy link
Owner

@abalhier thanks! This looks great. Just one more thing: could you revert your changes of lib folder in this branch? They should be automatically generated by the release script, thanks!

@abalhier
Copy link
Contributor Author

Done ! :)

@tomchentw tomchentw merged commit 766e2b3 into tomchentw:master Aug 1, 2016
@tomchentw tomchentw mentioned this pull request Aug 1, 2016
@tomchentw
Copy link
Owner

Released v2.8.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants