-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(focus-trap) Remove possibility to provide
escape
as a function.
It is unnecessary, as the user of the library can easily listen for `Esc` key presses by themselves. As a side note, the implementation of the previous behaviour was buggy. (The e2e tests will be refactored and estended soon)
- Loading branch information
1 parent
a5aa0c1
commit 2c17880
Showing
4 changed files
with
19 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
'@davidevmod/focus-trap': patch | ||
--- | ||
|
||
Remove possibility to provide `escape` as a function. | ||
|
||
It is unnecessary, as the user of the library can easily listen for `Esc` key presses by themselves. | ||
|
||
As a side note, the implementation of the previous behaviour was buggy. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters