Closed Keshav-0907 closed 5 months ago
A max-height with overflow: auto sounds good. Always use “auto” instead of “scroll” — “auto” shows the scroll bar only if the contents are too large to fit, but “scroll” will show the scrollbar all the time.
You should check how we are handling it in other modals. Specifically the KeyboardShortcuts and the AddToCollection ones, as those have a lot of content. It’s possible that this is something which should be done in the core
p5.js version
v2.11.0
What is your operating system?
Mac OS
Web browser and version
Brave v1.61.109
Actual Behavior
When uploading a large number of assets (8+) , the upload modal leads to a UI overflow issue, disrupting the user interface.
https://github.com/processing/p5.js-web-editor/assets/91189139/f7b156d5-e422-4ced-a224-17af9fd5e888
Expected Behavior
A potential solution to address this issue during asset uploads can be to implement the
overflow: scroll
on the modalSteps to reproduce
Steps: