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
It is not possible to add image cropping plugin with multiple styles.
Let's say there are multiple image uploading controls and each of them has a different requirement in cropping size.
In such cases, the plugin will always load the first style which is available.
No matter we use multiple components or use the plugin in the same component itself, it will always take the first style available.
By the word 'styles', what I meant was the styles passed in the <ly-img-cropper [withClass]="classes.cropping"
The text was updated successfully, but these errors were encountered:
Hi @jerintk you want to add styles to the component? for now this is limited. You can only add styles to the container, in version 3 it will be easier to customize a component. To add styles to the container (ly-img-cropper) I could use [ngClass] since [withClass] only serves to add the given className.
🪲 Bug report
It is not possible to add image cropping plugin with multiple styles.
Let's say there are multiple image uploading controls and each of them has a different requirement in cropping size.
In such cases, the plugin will always load the first style which is available.
No matter we use multiple components or use the plugin in the same component itself, it will always take the first style available.
By the word 'styles', what I meant was the styles passed in the
<ly-img-cropper [withClass]="classes.cropping"
The text was updated successfully, but these errors were encountered: