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 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

Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
Do you need assistance from an ABP expert?
Schedule a Meeting
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v9.3.0-preview. Updated on April 16, 2025, 12:13