Description
p5.js version
No response
What is your operating system?
Windows
Web browser and version
Chrome
Actual Behavior
Currently, when users drag the output page to the right, it continues to scroll indefinitely, which can result in the output page disappearing off-screen.
p5.js.Web.Editor.2.mp4
Expected Behavior
The output page in the code compiler should not be draggable to infinity when the user tries to scroll horizontally. Instead, it should have a limit and stop scrolling at a certain point, for example, at 95% of the screen width. This will prevent users from accidentally losing access to the output page.
W3Schools.Tryit.Editor.mp4
Or, after reaching 100% of the screen width, there should be a noticeable separation or thick strip, clearly indicating the end of the output and distinguishing it from the input section. This design improvement will ensure users have full control over the output while maintaining a clear visual separation between the input and output sections.
Steps to reproduce
- Open the code compiler.
- Execute some code that generates a lengthy output.
- Try to scroll the output page horizontally to the right.