react-viewer icon indicating copy to clipboard operation
react-viewer copied to clipboard

react image viewer, supports rotation, scale, zoom and so on

Results 77 react-viewer issues
Sort by recently updated
recently updated
newest added

Hi author , When do we will release 4.x ? Thanks !

I can't seem to figure out how i assign a `HTLMElement` to this `container` property of Viewer. It doesnt seem to want to use a React.CreateRef() thingy. I cant work...

Getting `../node_modules/react-viewer/dist/index.js:6:23228: Unexpected token (6:23228)` while trying to use [Parcel](https://github.com/parcel-bundler/parcel) to package react projects. Made a minimal example project to reproduce the error: https://github.com/goobery/react-viewer-example For some reason, it just won't...

**3.0.0** Use latest React api, stop supporting React 15 - [x] Replace `ReactDOM .unstable_renderSubtreeIntoContainer` with `ReactDOM.createPortal`. - [x] Use React Hooks api. - [ ] ~~Accessibility.~~ - [x] Add option...

It would be awesome to support the **backbutton** on mobile devices to close the image viewer. Like the `ESC` shortcut does on desktop devices.

First of all, thanks for this component. Currently, the toolbar is always rendered below the image. I'd like to suggest the idea to add an option to render the toolbar...

Good afternoon! I see that PDFs are not supported and I wanted to know if there will be any future update to visualize them.

Hi, Is there a way to disable drag when not zoomed in? Thanks, Mayank

到达最小缩放时, 再执行缩小操作, 图片不会平移, translateY, translateX 应该不变才对