Open Closed

Closing modal dialog automatically if scroll down or click anywhere. #11109


0
aslam.loni created

Hi,

I was raised issue regarding Modal opened within widget not able to access (#11084). You were provided some temporary solution. It's working but closing modal dailog automatically if i click/scroll down through the mouse.

Also getting error at the time of modal opening. Please see below screen shot.

code :

show(): void {
    this.modal.show();
  }

Temporary Solution was :

Please do the needfull.


1 Answer(s)
  • 0
    ismcagdas created
    Support Team

    Hi @aslam.loni,

    If you ignore backgrop click, modal will be closed only when you click the X icon on the modal header;

    [config]="{backdrop: false, ignoreBackdropClick: true}"