Skip to content

Commit e10f100

Browse files
authored
fix(overlay): event's key null safety when fill out forms automatically (#502)
1 parent 81719c5 commit e10f100

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/overlay/src/App.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ onDevToolsConnected(() => {
7575
})
7676
7777
addEventListener('keyup', (e) => {
78-
if (e.key.toLowerCase() === 'escape' && vueInspector.value?.enabled) {
78+
if (e.key?.toLowerCase() === 'escape' && vueInspector.value?.enabled) {
7979
vueInspector.value?.disable()
8080
}
8181
})

0 commit comments

Comments
 (0)