Skip to content

Crop Function is not working in the react hooks #94

@Ayubbabaxelits

Description

@Ayubbabaxelits

Hi,

I am trying to use the library with the react hooks please find the code but its not working as expected

<ImageCrop ref={imageCropperRef} image={selectedImg} cropHeight={CROP_AREA_HEIGHT} cropWidth={CROP_AREA_WIDTH} zoom={20} maxZoom={80} minZoom={20} panToMove={true} pinchToZoom={true} />

        When clicked the below code I am trying to run here in the below I cant able to get the crop function
        

  `imageCropperRef.current`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions