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
You will see that there is no added class to the element:
Close the modal and click the "Open Standard Soho Modal"
Inspect the DOM and you will see the added class name:
Expected behavior
Using the .cssClass('my-custom-class') or .modalSettings({ cssClass: 'my-custom-class'}) should be applied to the element with the .modal class.
Version
ids-enterprise-ng: 13.0.0
Platform
OS Version: Mac OSX
Browser Name: n/a
Browser Version n/a
The text was updated successfully, but these errors were encountered:
This works (first opening the modal, then apply the cssClass do the dialogRef), which is kinda weird and differs from how we usually use the soho modal one:
Seems to be because of the following code in soho-contextual-action-panel.ref.ts wich checks to see that the dialog is open:
Describe the bug
Not able to apply cssClass to CAP modal.
To Reproduce
Steps to reproduce the behavior:
Go to this this stackblitz
Click on the "Show Cap Dialog" button
Inspect the DOM
You will see that there is no added class to the element:
![image](https://user-images.githubusercontent.com/73601152/150152614-a215a795-3844-4d8b-b51e-5e2558df7f10.png)
Close the modal and click the "Open Standard Soho Modal"
Inspect the DOM and you will see the added class name:
![image](https://user-images.githubusercontent.com/73601152/150153244-020789aa-cfc5-4c72-9d80-c39309ff4214.png)
Expected behavior
Using the
.cssClass('my-custom-class')
or.modalSettings({ cssClass: 'my-custom-class'})
should be applied to the element with the.modal
class.Version
Platform
The text was updated successfully, but these errors were encountered: