-
Notifications
You must be signed in to change notification settings - Fork 481
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
fix(overlay): adjust max heights to always fit viewport #2915
Conversation
@@ -27,7 +27,6 @@ export function ReportFeedbackOverlay(props) { | |||
<Overlay | |||
anchor={ props.anchor } | |||
onClose={ props.onClose } | |||
maxHeight="calc(100vh - 250px)" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Explanation: this was causing the the report feedback overlay to shorten and have scroll, even though there was plenty of space still. The height of this overlay is a lot smaller than MIN_HEIGHT
of the Modeler, meaning we don't need to set this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please ensure that the scrolling container takes the full width of the overlay so that the scrollbar is on the edge and not overlapping form elements.
Expected: Screen.Recording.2022-04-11.at.17.30.39.mov |
0e468b1
to
0728720
Compare
@andreasgeier I updated the screen recording accordingly |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works as expected 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good so far 👍
0728720
to
d52ff9f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
Closes #2882
Screen.Recording.2022-04-12.at.14.29.50.mov