add max-height style to allow long prompt text to scroll and not escape viewport #149
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
hi! cool product! was playing around and noticed some bugginess with the prompt text input field where if there's a long prompt the textarea will not scroll and it will keep expanding until it goes off the top edge of the viewport. i was able to run this locally to test (had to hack out some stuff to get the prompt textarea to render); see before & after screenshots.
one other thing, fwiw: i didn't understand is why the
<textarea />
hasspellcheck="false"
? i'm the worst at spelling so not having red squiggles wouldn't be my preference. there's probably a reason for it, tho; so i didn't change it.also looking forward to the resolve from #138 because it was a little confusing at first that i couldn't edit the prompt again. it wasn't very difficult to realize i just needed to create a new prompt and copy/paste my old one in to keep editing. oh and deleting prompts would be cool, too. 🤷
before
Text-to-CAD
heading gets pushed off screen and so do the context of the prompt text; the text is not able to scroll.after
heading stays, text can scroll (see scrollbar 😎)