-
Couldn't load subscription status.
- Fork 9.4k
Closed
Labels
Component: CmsEvent: distributed-cdDistributed Contribution DayDistributed Contribution DayFixed in 2.1.xThe issue has been fixed in 2.1 release lineThe issue has been fixed in 2.1 release lineFixed in 2.2.xThe issue has been fixed in 2.2 release lineThe issue has been fixed in 2.2 release lineFixed in 2.3.xThe issue has been fixed in 2.3 release lineThe issue has been fixed in 2.3 release lineIssue: Clear DescriptionGate 2 Passed. Manual verification of the issue description passedGate 2 Passed. Manual verification of the issue description passedIssue: Format is validGate 1 Passed. Automatic verification of issue format passedGate 1 Passed. Automatic verification of issue format passedbug report
Description
Preconditions
- Magento 2.1.2
Steps to reproduce
- Go into any template and create a modal widget with this code:
require(['Magento_Ui/js/modal/modal'], function(modal) {
$('#some-element').click(function(e) {
e.preventDefault();
$('<p>Overlay content</p>').modal().modal('openModal');
});
});
- Click on
$('#some-element')to show the overlay. - Click on the overlay (shadow).
Expected result
- According to the documentation, the default
clickableOverlayvalue istrue, which means "Close the modal window when a user clicks on the overlay".
Actual result
- Nothing happens (i.e., the overlay does not close). Even when you manually specify the option, it doesn't work:
$('<p>Overlay content</p>').modal({ clickableOverlay: true }).modal('openModal');
hayes0724, BB-000, Jezfx, ntoombs19, slackerzz and 6 more
Metadata
Metadata
Assignees
Labels
Component: CmsEvent: distributed-cdDistributed Contribution DayDistributed Contribution DayFixed in 2.1.xThe issue has been fixed in 2.1 release lineThe issue has been fixed in 2.1 release lineFixed in 2.2.xThe issue has been fixed in 2.2 release lineThe issue has been fixed in 2.2 release lineFixed in 2.3.xThe issue has been fixed in 2.3 release lineThe issue has been fixed in 2.3 release lineIssue: Clear DescriptionGate 2 Passed. Manual verification of the issue description passedGate 2 Passed. Manual verification of the issue description passedIssue: Format is validGate 1 Passed. Automatic verification of issue format passedGate 1 Passed. Automatic verification of issue format passedbug report