react-img-zoom icon indicating copy to clipboard operation
react-img-zoom copied to clipboard

:microscope: A React component to zoom images on hover https://react-img-zoom.netlify.com/

Results 7 react-img-zoom issues
Sort by recently updated
recently updated
newest added

Changed This: `const x = ((e.pageX - offsetLeft) / parseInt(width, 10)) * 100 const y = ((e.pageY - offsetTop) / parseInt(height, 10)) * 100` To This: `const x = ((e.screenX...

Read props at render time, instead of in the constructor. That way if props change we're always reading the latest values. I haven't tested this yet. I tried doing `yarn...

I'm used zoom in modal, when modal opens at scroll position more zhen 0, position of image calculated wrong.

Based on #20 , it is a good idea to implement the option to use 100% of the container. The suggested usage is as follows: ```jsx ``` "width" would receive...

- [ ] Add keyboard support? - [ ] Add "alt" in a div or change div to img

help wanted
question

help wanted
question