This fixes a problem with calculating the correct size and position of the inline edit text area when all of the text is removed that would result in the text area vanishing and losing focus.
This fix introduces a new minimum size for the text area calculated from the target text node's calculated line-height or in the case line-height returns "normal" it is 1.5x the calculated font-size (which always returns a pixel value).
Pull Request
📖 Description
This fixes a problem with calculating the correct size and position of the inline edit text area when all of the text is removed that would result in the text area vanishing and losing focus. This fix introduces a new minimum size for the text area calculated from the target text node's calculated line-height or in the case line-height returns "normal" it is 1.5x the calculated font-size (which always returns a pixel value).
This will not be fully fixed until https://github.com/microsoft/fast-creator/pull/85 is merged.
🎫 Issues
Closes: #74
👩💻 Reviewer Notes
✅ Checklist
General
⏭ Next Steps