Skip to content

Support External Enlarged Image

Choose a tag to compare

@ethanselzer ethanselzer released this 22 Mar 21:25
· 30 commits to master since this release

Release Notes

  • Render enlarged image into an HTML element of your choosing.

  • Ignored for touch input by default but will be honored if isEnlargedImagePortalEnabledForTouch is implemented.

  • Use cases include a scenario where an ancestor element of react-image-magnify implements overflow hidden.

  • Requires React v16

  • Demo

  • Please see example source code for details.