This was my original query here
I've been attempting to recreate the auto-grow functionality showcased in their interactive playground
My approach involved adding a scrolling container and setting specific heights for elements, however,
You can also view a live demonstration on codesandbox here
Upon pasting a large amount of content, the page unexpectedly scrolls back to the top of the editor... resulting in a rather disruptive user experience.