First click of Cancel button doesn't dismis modal
Opened this issue · 0 comments
taylorjg commented
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.