Skip to content

Commit

Permalink
fix: 子应用KeyboardEvent不生效 (#305)
Browse files Browse the repository at this point in the history
close #304
  • Loading branch information
jardenliu authored Dec 5, 2022
1 parent 22b5ab1 commit a4e1775
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/wujie-core/src/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,9 @@ export const mainDocumentAddEventListenerEvents = [
"selectionchange",
"visibilitychange",
"wheel",
"keydown",
"keypress",
"keyup",
];

// 需要同时挂载到主应用document和shadow上的事件(互斥)
Expand Down

0 comments on commit a4e1775

Please sign in to comment.