glorious-codes / glorious-demo

The easiest way to demonstrate your code in action.
https://glorious.codes/demo
MIT License
3.41k stars 107 forks source link

Automatically scroll if text exceeds the bounds of the text box #117

Open WadeWaldron opened 11 months ago

WadeWaldron commented 11 months ago

Currently, if my code exceeds the bounds of the text box, a scroll bar appears and then I can manually scroll down to see what is there. However, given the demo/presentation nature of this tool, it would be nice if it could automatically scroll instead. So when the code exceeds the area provided, it should scroll down automatically. Or at least there should be an option for this behavior.

rafaelcamargo commented 10 months ago

Nice suggestion!