fix: not auto focus and popup var hide

This commit is contained in:
Joel 2025-08-26 16:54:00 +08:00
parent 286ab0d468
commit 5156b8f9c9
2 changed files with 2 additions and 1 deletions

View File

@ -65,6 +65,7 @@ const InputField: React.FC<Props> = ({
onChange={(e) => {
setTempPayload(prev => ({ ...prev, output_variable_name: e.target.value }))
}}
autoFocus
/>
</div>
<div className='mt-4'>

View File

@ -72,7 +72,7 @@ const PrePopulate: FC<Props> = ({
value: valueSelector || [],
onChange: onValueSelectorChange!,
readonly: false,
zIndex: 1000,
zIndex: 1000000, // bigger than shortcut plugin popup
}
const isShowPlaceholder = !onPlaceholderClicked && (isVariable ? (!valueSelector || valueSelector.length === 0) : !value)