Text fields shrink to a height of 0px and cannot be resized

Hi Team,

When filling out a text box in an H5P module, if you enter enough text to make the box try to resize itself (or at least show the arrows and drag bar to stretch itself), it will instead set the height to zero and make it impossible to access the text again.  This bug was encountered while using the Chrome browser, and seems to be a bug in the Text modal used across all activity types as I first encountered it in a Branching Decisions activity and now seei t again working on a Slideshow.  I was using Moodle v4.0, with the H5P plugin, to generate activities when this bug was encountered.