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

Fixing an issue with missing propTypes #36

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Coriou
Copy link

@Coriou Coriou commented Jul 27, 2020

Don't really understand the issue, but this fixes #35 by:

  1. providing an empty object to Object.keys as a default
  2. only emitting the event when there's actually something to send along with it

This fixes an issue I was having with another component using this one (ethanselzer/react-image-magnify)

Don't really understand the issue, but this fixes ethanselzer#35 by:

1. providing an empty object to Object.keys as a default
2. only emitting the event when there's actually something to send along with it

This fixes an issue I was having with another component using this one (ethanselzer/react-image-magnify)
@coveralls
Copy link

Coverage Status

Coverage remained the same at 100.0% when pulling e2fd02c on Coriou:fix-missing-props into 0f594bb on ethanselzer:master.

@vincentdesmares
Copy link

I have tested the PR and it solves the issue. Please merge!

@jsingh0026
Copy link

jsingh0026 commented Aug 3, 2020

@ethanselzer when can we expect this PR to be merged as this is a blockage in our production deployment, so knowing an expected time we can plan accordingly.

@sandro768
Copy link

@ethanselzer @jacekradko can anybody merge this PR?

@Coriou
Copy link
Author

Coriou commented Oct 12, 2020

To anyone having issues with this library, I have found this alternative which seems to work well: laurenashpole/react-inner-image-zoom

@juanpallares
Copy link

@ethanselzer @jacekradko can anybody merge this PR, please?

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.

Cannot convert undefined or null to object
6 participants