Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make modifications list pop-up scrollable #3232

Merged
merged 1 commit into from
Jan 20, 2020

Conversation

rajadain
Copy link
Member

@rajadain rajadain commented Jan 20, 2020

Overview

Previously the modifications list pop-up would overflow beyond a short viewport and be cut off from view. By adding an explicit max-height we ensure that the pop-up always stays within the viewport, and with overflow-y we ensure that there is a scrollbar for vertical scrolling when required.

Connects #3198

Demo

On macOS, with an implicit scrollbar:

2020-01-20 14 31 38

On Windows, with an explicit scrollbar:

2020-01-20 15 23 25

Testing Instructions

  • Check out this branch and ./scripts/bundle.sh --debug

  • Go to :8000/ and create a new TR-55 project

  • Add a large number of modifications, like so:

    image

  • Open the modifications pop-up on a short screen, such that you cannot see all the modifications in one screen

    • Ensure you can scroll the pop-up to bring the lower ones up into view

@rajadain rajadain added the NSF Funding Source: National Science Foundation label Jan 20, 2020
@rajadain rajadain changed the base branch from develop to release/1.26.0 January 20, 2020 20:25
Previously the modifications list pop-up would overflow
beyond a short viewport and be cut off from view. By
adding an explicit `max-height` we ensure that the pop-
up always stays within the viewport, and with `overflow-y`
we ensure that there is a scrollbar for vertical scrolling
when required.
@rajadain rajadain force-pushed the tt/allow-scrolling-many-modifications branch from 509889e to ac9be39 Compare January 20, 2020 20:26
@rajadain rajadain marked this pull request as ready for review January 20, 2020 20:27
@rajadain rajadain requested review from mmcfarland and removed request for lossyrob January 20, 2020 21:17
@rajadain rajadain assigned mmcfarland and unassigned lossyrob Jan 20, 2020
Copy link
Contributor

@mmcfarland mmcfarland left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully made the list overflow and scroll on chrome and firefox.

@mmcfarland mmcfarland assigned rajadain and unassigned mmcfarland Jan 20, 2020
@rajadain rajadain merged commit 36b3306 into release/1.26.0 Jan 20, 2020
@rajadain rajadain deleted the tt/allow-scrolling-many-modifications branch January 20, 2020 22:40
@rajadain
Copy link
Member Author

Thanks for taking a look!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
NSF Funding Source: National Science Foundation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants