react-spectrum icon indicating copy to clipboard operation
react-spectrum copied to clipboard

issue-855: AlertDialog add support for allowsKeyboardConfirmation prop

Open lishichengyan opened this issue 1 year ago • 0 comments

Closes https://github.com/adobe/react-spectrum/issues/855

Screen Shot 2022-07-20 at 12 22 58 PM

Screen Shot 2022-07-20 at 4 36 46 PM

✅ Pull Request Checklist:

  • [x] Included link to corresponding React Spectrum GitHub Issue.
  • [x] Added/updated unit tests and storybook for this change (for new code or code which already has tests).
  • [x] Filled out test instructions.
  • [x] Updated documentation (if it already exists for this component).
  • [ ] Looked at the Accessibility Practices for this feature - Aria Practices

📝 Test Instructions:

Open an AlertDialog, verify if pressing the "Enter" key closes it and triggers onPrimaryAction.

🧢 Your Project:

lishichengyan avatar Jul 20 '22 23:07 lishichengyan