react-image-magnifier
react-image-magnifier copied to clipboard
A react component that accepts a high-res source image and produces a magnifier window on mouse hover over the part of the image the cursor is over
Please add compiled version #2 and also update proptypes to support new react v16
Fixed typo in 'README.md'.
Convert from .jsx to .js
Im sorry but I don't an webpack expert so I decided to add a "prepublish" script to package.json to generate a compiled version.
Hey! I pulled in a commit from @francisPlaymore to fix the `Unexpected token (55:12)` when running and added browser support for Firefox and IE by using `clientX/Y` instead of simply...
add double quote to background image url because css can not recognise filename with space e.g. `background-image: url(sdfds/sdfa/adf sdf.jpg)` is not work but `background-image: url("sdfds/sdfa/adf sdf.jpg")` will work.
Went to use this in a project today, and did not test well in firefox. The issue ended up being that the mouseevent used to set state isn't available in...