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

Can't set returnFocusOnDeactivate on FocusTrap

cnelson9 opened this issue · comments

I have a scenario where I need to set returnFocusOnDeactivate to false on the FocusTrap, but there is no way for me to set it with the AriaModal props.

I would make a PR, but I don't have permission to publish a branch.

Actually, it would be nice if I could pass in all of focusTrapOptions

@cnelson9 sounds good. Open to a PR implementing focusTrapOptions.

I would make a PR, but I don't have permission to publish a branch.

You should be able to create a PR by forking the repo and working from the fork. There are some guides you can find if you search for how to contribute pull requests on GitHub (like this one).

Closed by #56.