Skip to content

Commit

Permalink
Drop all support for IE browsers (#767)
Browse files Browse the repository at this point in the history
Microsoft [no longer supports](https://blogs.windows.com/windowsexperience/2022/06/15/internet-explorer-11-has-retired-and-is-officially-out-of-support-what-you-need-to-know/)
any version of IE, so IE is no longer supported by this library.
  • Loading branch information
stefcameron authored Aug 17, 2022
1 parent 5257f86 commit 018732c
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 3 deletions.
5 changes: 5 additions & 0 deletions .changeset/browser-support-revision.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'focus-trap-react': major
---

- Revised and clarified official browser support (still as broad and deep as _reasonably_ possible).
6 changes: 6 additions & 0 deletions .changeset/drop-ie.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'focus-trap-react': major
---

🚨 __Breaking:__ Dropped support of IE browsers, all versions.
- IE11 was [officially retired](https://blogs.windows.com/windowsexperience/2022/06/15/internet-explorer-11-has-retired-and-is-officially-out-of-support-what-you-need-to-know/) on June 15, 2022 (6 weeks ago). There are no longer any versions of IE that are still maintained or even supported by Microsoft.
14 changes: 11 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,21 @@ npm install focus-trap-react

### React dependency

React `>= 16.0.0`.
React `>= 16.3.0`

## Browser Support

Basically IE9+.
As old and as broad as _reasonably_ possible, excluding browsers that are out of support or have nearly no user base.

Why? Because this module's core functionality comes from focus-trap, which uses [a couple of IE9+ functions](https://github.com/davidtheclark/tabbable#browser-support).
Focused on desktop browsers, particularly Chrome, Edge, FireFox, Safari, and Opera.

Focus-trap-react is not officially tested on any mobile browsers or devices.

> ⚠️ Microsoft [no longer supports](https://blogs.windows.com/windowsexperience/2022/06/15/internet-explorer-11-has-retired-and-is-officially-out-of-support-what-you-need-to-know/) any version of IE, so IE is no longer supported by this library.
> 💬 Focus-trap-react relies on focus-trap so its browser support is at least [what focus-trap supports](https://github.com/focus-trap/focus-trap#browser-support).
> 💬 Keep in mind that performance optimization and old browser support are often at odds, so tabbable may not always be able to use the most optimal (typically modern) APIs in all cases.
## Usage

Expand Down

0 comments on commit 018732c

Please sign in to comment.