magento / magento2

Prior to making any Submission(s), you must sign an Adobe Contributor License Agreement, available here at: https://opensource.adobe.com/cla.html. All Submissions you make to Adobe Inc. and its affiliates, assigns and subsidiaries (collectively “Adobe”) are subject to the terms of the Adobe Contributor License Agreement.
http://www.magento.com
Open Software License 3.0
11.56k stars 9.32k forks source link

Modals cannot be closed by clicking on the overlay #7460

Closed ntoombs19 closed 7 years ago

ntoombs19 commented 8 years ago

Preconditions

  1. Magento version: 2.1.1
  2. Browser: Chrome
  3. OS: OS X El Capitan 10.11.6

Steps to reproduce

  1. Sign in as a customer
  2. Add some products to your cart
  3. Go to checkout
  4. Click the + New Address button
  5. With the modal open, click anywhere in the dark grey background (the overlay)

Expected result

  1. The modal should close. This is the modals default behavior unless it is explicitly overridden on initialization, which it isn't anywhere in the code base.

http://devdocs.magento.com/guides/v2.0/javascript-dev-guide/widgets/widget_modal.html#modal_clickableOverlay

Actual result

  1. Nothing happens. There are no error messages in the console either.
ntoombs19 commented 7 years ago

I just noticed this is actually a duplicate of https://github.com/magento/magento2/issues/7399

erikhansen commented 7 years ago

@ntoombs19 Can you close your ticket since it's a duplicate of #7399? I posted a workaround for this issue on #7399.

miakusha commented 7 years ago

Hi @ntoombs19 thanks for report We've created internal ticket MAGETWO-63410 to address this issue. I’m closing this issue because it is a duplicate #7399.