Releases: ethanselzer/react-image-magnify
Releases · ethanselzer/react-image-magnify
Example Integration with react-slick Carousel
See readme for demo links
Correct Default Hint Icon Width
Release Notes
- Correct default hint icon vulnerability to image width style leaking in. This was due to a misspelling of the
width
property.
Example Site: Add In-Place Example
Release Notes
- Add in-place example for mouse environment
- Retire fixed width example
- Minor docs and keyword cleanup
Improve Input Type Detection
Release Notes
- Correct possible mis-detection of mouse input type on Firefox 57, which could cause default interaction-hint text to be incorrect for mouse input type.
Support Image Error Event
Release Notes
- Small and large images now support error event handlers.
- Special thanks to @spiderbites for the idea and for the code. You are awesome!
Correct Error: Can't resolve ../src/lib/lens
Release Notes
Fixes Error: Can't resolve ../src/lib/lens introduced in v2.2.2.
Special thanks to @sbloedel for identifying the issue and providing a fix. You are awesome!
Refactor
Internal refactor to improve readability and organization.
Introduce Hint Feature
Overview
Introduce "hint" instructions feature to explain and encourage interaction.
Release Notes
- Disabled by default
- Different text for mouse and touch environments
- Default text provided
- User defined text option
- Visible only until first activation by default
- Configure always visible when inactive option
- User defined component option
Pin Some Dependency Versions
Release Notes
- Correct possible error with message: "ERROR in ReactImageMagnify.js from UglifyJs Unexpected character '`'
- Limit upstream exposure by removing semver match characters from package.json for all dependencies except prop-types.
- Fixes #15
- Thanks to @vidries for opening issue #15 and to @ionutzp for researching the root cause. You guys are awesome!
Support Image Onload Observation
Release Notes
- Support attaching listeners to small and large image onload events
- See documentation for details
- Special thanks to @sk1e for creating this feature. You are awesome!