remove deprecated keyCode (#2463)
This commit is contained in:
parent
99a7e9e1d7
commit
1edec28d86
@ -207,7 +207,7 @@ class Fullscreen {
|
|||||||
// Trap focus inside container
|
// Trap focus inside container
|
||||||
trapFocus = (event) => {
|
trapFocus = (event) => {
|
||||||
// Bail if iOS, not active, not the tab key
|
// Bail if iOS, not active, not the tab key
|
||||||
if (browser.isIos || !this.active || event.key !== 'Tab' || event.keyCode !== 9) {
|
if (browser.isIos || !this.active || event.key !== 'Tab') {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user