Skip to content

better to have BackdropClick as similar backdrop #15

@Haripa

Description

@Haripa

In the createDialog.js , there is an inline click event added for backdrop element DIV. below is the code,
var backdropEl = angular.element('

');
backdropEl.addClass(options.backdropClass);
backdropEl.addClass('fade in');

Basically user's chance to click outside the modal, this cause close and loss of data.

To avoid/overcome - add "backdropclick" (either true/false) as similar as backdrop, based on the flag will add the ng-click event will add to that DIV element.
Otherwise add a custom callback function when open the modal.

This could be help to improve alot.

Thanks & Regards,
Hari

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions