mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
fix(editor): Support tabbing away from inline expression editor (#5056)
⚡ Support tabbing away from inline expression editor
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<div :class="$style['expression-parameter-input']" v-click-outside="onBlur">
|
||||
<div :class="$style['expression-parameter-input']" v-click-outside="onBlur" @keydown.tab="onBlur">
|
||||
<div :class="[$style['all-sections'], { [$style['focused']]: isFocused }]">
|
||||
<div
|
||||
:class="[
|
||||
@@ -128,7 +128,7 @@ export default Vue.extend({
|
||||
|
||||
this.$emit('focus');
|
||||
},
|
||||
onBlur(event: FocusEvent) {
|
||||
onBlur(event: FocusEvent | KeyboardEvent) {
|
||||
if (
|
||||
event.target instanceof Element &&
|
||||
Array.from(event.target.classList).some((_class) => _class.includes('resizer'))
|
||||
|
||||
Reference in New Issue
Block a user