Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cropper in an overlay doesn't work #51

Open
Neewd opened this issue Dec 5, 2019 · 0 comments
Open

Cropper in an overlay doesn't work #51

Neewd opened this issue Dec 5, 2019 · 0 comments

Comments

@Neewd
Copy link

Neewd commented Dec 5, 2019

Hey,

I am quite sure this is an easy one but I am struggling for days with this issue and I'd really appreciate some help in here.

I am trying to open the cropper in a overlay (Angular Cdk Overlay component) in order to see a bigger representation of my image to crop.
But when I initialize the cropper, my image is going in full size and the cropper overflow my screen.

Capture d’écran 2019-12-05 à 09 13 21

If I put an overflow : auto on my angular-cropper element, I'll miss a part of my image.

I would like to tell the cropper that my max-height is 95vh and thus adapt to it directly. Is that possible ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant