Fixed scrollbar in example output frame
Fixes #716 Partially addresses processing/p5.js#7620
Hello @Its-sunny69 - so the overflow: hidden solution affects not only the case you showed, but also the example that @davepagurek is describing in the comment on the related issue that should have scrollbars: https://p5js.org/reference/p5/input/ - that comment also suggests making the fix a bit more targeted:
It seems like this issue also talks specifically about scroll bars for sketches that already have correctly-sized frames, but where scroll bars appear when zoomed in at certain levels. I think another valid solution could be to figure out how to remove scroll bars in just those cases, but still keeping scroll bars for the case where something is truly outside of the canvas and needs to scroll.
Could you update your solution to more specifically target your particular case, please?
@ksen0 Thanks for providing more clarity on this issue, i will look for more specific solution .
Hey @ksen0 , if this PR solution is still valid and correct then please merge it.