Skip to content

Clicking on overlay does not close modal on iOS touch devices #307

Closed
@jordanmack

Description

@jordanmack

Summary:

When shouldCloseOnOverlayClick is set to true, clicking the overlay on iOS does not close the modal.

Steps to reproduce:

  1. Create a modal with shouldCloseOnOverlayClick={true}
  2. Verify that clicking the overlay closes the modal on a desktop browser.
  3. Observe that clicking the overlay does not close the modal on an iOS touch device.

Expected behavior:

The modal should display the same functionality as the desktop.

Additional notes:

This may also affect Android and Windows based touch devices, but is untested.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions