davidtheclark / react-aria-modal

A fully accessible React modal built according WAI-ARIA Authoring Practices

Home Page:http://davidtheclark.github.io/react-aria-modal/demo/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Update focus-trap -> focus-trap-react in dependencies

SonyaOrlova opened this issue · comments

Hi! After fixing this issue in focus-trap focus-trap/focus-trap#81, could you please update focus-trap`s version in focus-trap-react https://github.com/davidtheclark/focus-trap-react/blob/master/package.json and in react-aria-modal so we can use the new functionality in our project? Thanks

This PR seems to solve the issue https://github.com/davidtheclark/react-aria-modal/pull/110/files .

@davidtheclark @wldcordeiro It will be great to merge this one !

For others who, like me, has the "Uncaught Error: initialFocus refers to no known node" error, I installed the dependency from @marcolanaro 's fork as a workaround: npm install https://github.com/rdubigny/react-aria-modal