microsoft / design-to-code

A system of development tools, and utilities used à la carte or as a suite to build enterprise-grade websites and applications.
MIT License
24 stars 6 forks source link

[Feature]: Allow defocus to commit inline editing text #5

Closed janechu closed 3 years ago

janechu commented 3 years ago

What package(s) should this feature be added to?

@microsoft/fast-tooling

Summary

Currently in order to commit text (or submit it) the user must press Enter. In general if the edited text is focused away, such as from a click to another area or from tabbing away from the textarea, the text should be committed. The UX expectation for this action follows other design tools where it is not expected that the text should revert when focus is lost.

This change should affect the <html-render-layer-inline-edit> component.

janechu commented 3 years ago

Closed in FAST repository.