Activate edit mode when tabbing between fields in product editor
This commit is contained in:
@@ -87,6 +87,7 @@ export function EditableInput({
|
|||||||
<button
|
<button
|
||||||
type="button"
|
type="button"
|
||||||
onClick={() => setEditing(true)}
|
onClick={() => setEditing(true)}
|
||||||
|
onFocus={() => setEditing(true)}
|
||||||
className="flex items-center gap-1.5 flex-1 min-w-0"
|
className="flex items-center gap-1.5 flex-1 min-w-0"
|
||||||
>
|
>
|
||||||
{label && (
|
{label && (
|
||||||
|
|||||||
Reference in New Issue
Block a user