- Fix hebavior of
allowPan
andallowZoom
props (thanks Robert Brownstein)
- Expose setZoom and setPos methods
- Add the move method to the ref type object
- Add access to the move method from the ref object
- Build fix
- Added optional ignoredMouseButtons prop (thanks apomelitos)
- Fix double-click zoom target
- Refactor codebase to Typescript and functional components (thanks erickriva)
- Switch to parcel as build tool (thanks erickriva)
- Improve performances
- Added custom prop to disable mouse wheel (thanks JenniferGoijman)
- Fixed an issue when using SSR (thanks gregorjan)
- Bump some dependencies
- Bump some dependencies
- Added prop to allow parent movement (thanks SaadTaimoor-TFD)
- Bump again dev dependencies
- Bump dev dependencies to prevent vulnerabilities
- Fix panning on React 18
- Improve splitting between lib and demo app
- Temporary disable unit tests
- Update dependencies
- Include React 18 as peer dependencies
- Fix zooming on mobile when pan is disabled
- Replace locked prop with allowZoom and allowPan to handle zooming and panning events separately (thanks joshuacerdenia)
- Add a prop
allowTouchEvents
to allow event propagation (thanks fkrauthan)
- Add a prop to lock the component
- Prevent error when component is unmounted but still moving
- Fix double-tap bug on Safari iOS
- Includes React 17 as peer dependencies
- Use wrapper boundaries instead of specified props
- Update all dependencies
- Rework on the example page
- Improve mousewheel zoom
- Fix and improve unit tests
- Fix chrome warning during zoom
- Change some eslint and babel rules
- Improve reference handling
- Added onPanChange callback method (thanks Frozen-byte)
- Fix calculating absolute position (thanks sbekaert)
- Update some dependencies, clean code
- Remove preventDefault from touchStop event
- Fix another bug on mouse wheel zoom
- Add movement deceleration on mouse up and touch end events
- Greatly improve example project
- Fix blur effect on mouse wheel zoom
- Add unit tests using Intern
- Improve performances with translate3d and will-change CSS properties
- Fix a bug on panning when the element is not centered
- Fix on README documentation
- Lower React dependencies (v16.0)
- Improve README documentation
- Add code documentation
- Add NPM and GitLab CI config files
- Add License
- Add animation duration in props
- Add zoom in and out buttons in example project