ngneat/edit-in-place

Editable component does not switch back to edit mode automatically when initially rendered in edit mode

Opened this issue · 0 comments

I'm submitting a

Regression (a behavior that used to work and stopped working in a new release)

Current behavior

When a component is initially rendered in edit mode and user puts in data without clicking the component, the mode does not go back to edit mode automatically when focus is switched to another editable component. It works as expected only if user also clicks on the component before focus is switched.

See the screenshot below.
Note: The editable component on the left with text "test" is still in edit mode even though the focus is now on the other editable component (on the right)
image

Expected behavior

The mode should go back to view mode automatically for editable components that are initially rendered in edit mode once the component does not have the focus anymore.

Minimal reproduction of the problem with instructions

No response

What is the motivation / use case for changing the behavior?

No response

Environment

No response