Skip to content

Mask overlay leaves a 1px-high area over the image #611

@tmarcinkowski-logitech

Description

@tmarcinkowski-logitech

Hi
I have a customized instance of the cropper, and changing the overlay color to white revealed an issue where the image doesn't cover the whole image, despite having 100% height, leaving a 1px-high line. The video at the bottom shows the issue.

For me, the hacky workaround was to expand it slightly, but you might want to investigate it properly.

  & .ReactCrop__crop-mask,
  & .ReactCrop__crop-mask mask > rect:first-child {
    height: 100.1%;
  }
Screen.Recording.2025-04-09.at.13.21.02.mov

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