Multiple Versions of Tabbable Found #2402
Comments
@emilyrohrbough you are right, The warning is encountered because Did some backtracking and noticed that in Also the Note : |
FYI: I've logged this issue: focus-trap/focus-trap-react#46 |
I don't forsee that issue being addressed anytime soon. The maintainer is looking for other people to help maintain focus-trap-react. I looked at updating focus-trap-react to focus-trap v5 which would resolve the issue and the tests failed. I didn't want to get into restructuring the tests on focus-trap-react so I haven't looked into it any more. It also looks like there are a fair amount of dev dependencies that need update in focus-trap-react. With the react team working on reactjs/rfcs#109 and react-events, we'll hopefully get to a point where maybe we don't need to depend of third-party focus management libraries and those concerns will be handled directly in reactjs. Until then, I recommend we continue to use tabbable, it is a solid library. However, I do think we should look at options to replace focus-trap-react. This library looks like an interesting alternative: |
This issue has been automatically marked as inactive because it has not had recent activity. It will be closed in seven days if no further activity occurs. Thank you for your contributions. |
Feature Request
Description
We use
focus-trap-react
in multiple terra-components (terra-overlay, popup) This in turn pulls infocus-trap
, which pulls intabbable
v3.1.2.We use
tabbable
v4 directly interra-overlay
so we are seeing the following duplicate dependency warning on build:The text was updated successfully, but these errors were encountered: