This commit is contained in:
parent
987cb07a4f
commit
7786ce9c3d
1 changed files with 3 additions and 1 deletions
|
@ -57,7 +57,9 @@ export class Menu {
|
|||
}
|
||||
|
||||
private preventDefault(event: KeyboardEvent) {
|
||||
event.preventDefault();
|
||||
if (!hasClosestByClassName(event.target as Element, "b3-menu")) {
|
||||
event.preventDefault();
|
||||
}
|
||||
}
|
||||
|
||||
public remove() {
|
||||
|
|
Loading…
Add table
Reference in a new issue