Open Closed

it closes when i click outside the <abp-model> #5617


User avatar
0
serdar.yigit created
  • ABP Framework version: v4.3.3
  • UI Type: Angular
  • Database System: EF Core (SQL Server)
  • Exception message and full stack trace:
  • Steps to reproduce the issue:

Hi team, I use to abp-modal on my page It automatically closing when we click anywhere other than abp-model. Is there a solution to this? code view

ui view


2 Answer(s)
  • User Avatar
    0
    Anjali_Musmade created
    Support Team Support Team Member

    Hi,

    Yes, you can set the "ngModalOptions.backdrop" input of your modal to "static". I am attaching the screenshot of the code.

    You can check the modal configurations from ng-bootstral documentation : https://ng-bootstrap.github.io/#/components/modal/examples#config https://ng-bootstrap.github.io/#/components/modal/api#NgbModalOptions

  • User Avatar
    0
    serdar.yigit created

    thanks worked for me

Made with ❤️ on ABP v9.1.0-preview. Updated on December 10, 2024, 06:38