Skip to content

Commit d3ad9df

Browse files
author
Bart van den Ende
committed
do not return on the document event listener to prevent that the native events are stopped
1 parent c26c1f2 commit d3ad9df

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

src/navigation.service.ts

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,6 @@ export class NavigationService {
5050

5151
// action spatial navigation
5252
if (keyName in NavigationServiceDirection) this.spatialNavigationAction(<NavigationServiceDirection>keyName);
53-
54-
return true;
5553
}));
5654
}
5755

@@ -62,8 +60,6 @@ export class NavigationService {
6260

6361
let el = this.findFocusable(<HTMLElement>e.target);
6462
if (el) el.focus();
65-
66-
return false;
6763
});
6864

6965
// enable mouseout event
@@ -72,8 +68,9 @@ export class NavigationService {
7268

7369
let el = this.findFocusable(<HTMLElement>e.target);
7470
if (el) el.blur();
71+
});
72+
7573

76-
return false;
7774
});
7875

7976
}

0 commit comments

Comments
 (0)