perf: add isolate events
This commit is contained in:
parent
684304db9b
commit
8fd5f04ecd
1 changed files with 1 additions and 0 deletions
|
@ -32,6 +32,7 @@ export default defineContentScript({
|
||||||
anchor: 'body',
|
anchor: 'body',
|
||||||
append: 'last',
|
append: 'last',
|
||||||
mode: 'open',
|
mode: 'open',
|
||||||
|
isolateEvents: ['keyup', 'keydown', 'keypress'],
|
||||||
onMount: (container) => {
|
onMount: (container) => {
|
||||||
const app = createElement('<div id="app"></div>')
|
const app = createElement('<div id="app"></div>')
|
||||||
container.append(app)
|
container.append(app)
|
||||||
|
|
Loading…
Reference in a new issue