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

Fix whitespace bug in Inline Edit #139

Closed williamw2 closed 3 years ago

williamw2 commented 3 years ago

Pull Request

📖 Description

Making adjustments to better handle the sizing of the text area when white space is present in the original text or when the user types a string that is empty except for whitespace. Also improves the text area height and width logic to reduce instances where the line wrapping happens differently in the textarea vs the underlying element.

🎫 Issues

👩‍💻 Reviewer Notes

✅ Checklist

General

⏭ Next Steps