Skip to content

Commit

Permalink
fix(overlay): event's key is undefined when fill out forms automatica…
Browse files Browse the repository at this point in the history
…lly in Chrome
  • Loading branch information
vancepym authored Jul 2, 2024
1 parent 56d0c4f commit f76bd35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/overlay/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ onDevToolsConnected(() => {
})
addEventListener('keyup', (e) => {
if (e.key.toLowerCase() === 'escape' && vueInspector.value?.enabled) {
if (e.key?.toLowerCase() === 'escape' && vueInspector.value?.enabled) {
vueInspector.value?.disable()
}
})
Expand Down

0 comments on commit f76bd35

Please sign in to comment.