Skip to content

First click of Cancel button doesn't dismis modal #3

@taylorjg

Description

@taylorjg

Steps to reproduce:

  • Click the Add Item button
  • The modal is displayed with the focus in the "First name" input element
  • Click the Cancel button (using the mouse)
  • The modal is not dismissed. A validation error for the "First name" field is displayed.

Note that clicking the Cancel button again does dismiss the modal. Also, the first click of the Cancel button works as expected when editing an existing item.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions