Croppie
Croppie copied to clipboard
Croppie freezes Android WebView with larger viewports
I'm using Croppie in a hybrid mobile app (vanilla JS). When initializing Croppie with a viewport set to above 600x600px (say fullscreen on a smartphone), the view freezes for about two seconds. No css animations or other render steps are fired. It works flawlessly afterwards.
Wow - I dropped the ball on this one. Any update on this?
Well, this is still happening... No problems if the viewport is small enough, but at higher sizes, it's freezing.
Does this only happen with the WebView component? I'm messing around with a large croppie (> 600x600) in chrome and I don't see any freezing.
When does the freezing happen? When you bind the image?
Don't know if this issue is resolved, but I'm currently facing same issue
the croppie canvas does not even show, immediately I select an image from the device
We fixed the bug back then by working on a downscaled image (using a service like Cloudinary, for example) and adjusting the crop results by the scaling ratio afterwards. That seemed to do the trick.