Closed ataldev closed 2 years ago
@depressedpsychiatrist, hello!
display:none
the cropper can't set own size properly. cropper.refresh
method internally, it recalculates the size of cropper.You can call this method on your own when modal is opened (i.e. the container is visible). The example.
Thanks for the quick reply.
I am using bootstrap modals. When I refresh the page and open the modal the copper doesn't show. But when I resize the window in some way; like resizing the inspect element window or maximizing chrome, the cropper then shows up. If I close the modal then and reopen, the cropper will show.
Here is the sandbox for it: https://codesandbox.io/s/morning-night-9nl2v9?file=/src/components/HelloWorld.vue