react-image-magnify icon indicating copy to clipboard operation
react-image-magnify copied to clipboard

in-place is undocumented

Open RobertGary1 opened this issue 4 years ago • 1 comments

The product description says you can do in-place but a search for "in-place" in the documentation results in zero hits.

RobertGary1 avatar Jun 18 '20 04:06 RobertGary1

@RobertGary1 You are correct. To do in-place, set enlargedImagePosition to "over". The documentation should update this.

<ReactImageMagnify
        {...{
          enlargedImagePosition: "over",
          smallImage: {
            alt: "Wristwatch by Ted Baker London",
            isFluidWidth: true,
            src: "https://placeimg.com/640/480/any"
          },
          largeImage: {
            src: "https://placeimg.com/640/480/any",
            width: 640,
            height: 480
          },
        }}
/>

rabidkitten avatar May 09 '21 19:05 rabidkitten