davidtheclark / react-aria-modal

A fully accessible React modal built according WAI-ARIA Authoring Practices
http://davidtheclark.github.io/react-aria-modal/demo/
MIT License
1.04k stars 96 forks source link

Console error in Firefox after switching tab while dialog is open #17

Closed esseb closed 6 years ago

esseb commented 8 years ago

Steps to reproduce:

  1. Clone the repo and run npm install and npm run demo-dev
  2. Open http://127.0.0.1:8080/ in Firefox
  3. Make sure you have at least one other tab open in Firefox
  4. Open Firefox's Developer Tools in the react-aria-modal demo tab
  5. Open the first demo dialog
  6. While the react aria modal dialog is open, switch to another tab in Firefox
  7. Switch back to the react-aria-modal demo tab

Result: TypeError: e.target.blur is not a function

Screenshot: screen shot 2016-08-24 at 16 47 43

Further information:

davidtheclark commented 6 years ago

I'm not reproducing this error anymore with the latest library and latest Firefox, so closing.