Skip to content

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