react-markdown-editor-lite
react-markdown-editor-lite copied to clipboard
[BUG] Autoresize not working if updating value externally (field has no focus)
Thank you for an amazing library!
Your environment
MacOS Ventura, Chrome For example, Windows 10, Chrome 109
Description
There is a small bug with the autoresize plugin, when the value is updated by the user (the markdown field is focused), it resizes correctly. If the value is updated via an external action, it does not resize. I attach an example reproducing the issue. Thank you 🙏
Reproduction URL
https://codesandbox.io/s/falling-sun-t4xos5?file=/src/App.js