You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The fix resolves the issue. Upon testing I found another scenario, which may be improved.
Load a Portrait image (Width < Height) (sample image: Portrait format image)
Select the Crop tool - Aspect ratio is "Original ratio", Orientation is Portrait and the resize frame covers the whole image
Click on Landscape - Resize frame becomes landscape
Select any aspect ratio, for example 16:9 - Resize frame remains landscape
Select "Original ratio" back again - the resize frame covers the whole image as on step 2, but the Orientation button incorrectly shows Landscape selected, instead of Portrait.
Bug report
The ImageEditor throws a JavaScript error on reselecting Original Ratio for portrait images
Reproduction of the problem
Open the ImageEditor Demo
Current behavior
JavaScript error is thrown
Expected/desired behavior
JavaScript error should not be thrown
Environment
The text was updated successfully, but these errors were encountered: