I have an ImageEditor in an sfRibbon. When I programmatically activate the cropping tool, and then (without finishing the cropping) click on "file" on the ribbon, the app crashes:
System.ArgumentOutOfRangeException: Non-negative number required. Parameter name: height at Windows.Foundation.Rect..ctor(Double x, Double y, Double width, Double height) at Syncfusion.UI.Xaml.ImageEditor.CroppingPanel.MeasureOverride(Size availableSize)
To reproduce the error, start the uploaded code and click "Facebook post". Then click on "file".
Is there a solution to this?
I tried to programatically close the cropping tool - that does not seem possible.
MKMuneesh Kumar G Syncfusion Team March 4, 2019 07:46 AM
Greetings from Syncfusion,
We were able to reproduce the issue “ArgumentOutOfRangeException thrown when changing the view with cropping handles” and we confirm this as a bug and logged a defect report. You can keep track of the bug from the feedback portal below.
Please note that we have created this patch for version 220.127.116.11 specifically to resolve the issue reported in the forum 143063. If you have received other patches for the same version for other products, please apply all patches in the order received. This fix will be included in our upcomingVolume 1 release which is scheduled to be roll out on mid of March 2019.