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

Fix scrollbars on fullscreen dashboard dashlet #19981

Merged
merged 1 commit into from
Apr 7, 2021

Conversation

colemanw
Copy link
Member

@colemanw colemanw commented Apr 7, 2021

Overview

Fixes the bug described in https://lab.civicrm.org/dev/core/-/issues/2513

Before

Clicking the "expand" arrows on a dashboard dashlet appears cut-off with no scrollbars.

After

Dialog appears with proper size, position, and scrollbars.

Technical Details

Apparently angular dialogService expects templates to be wrapped in an outer div, as that becomes the .ui-dialog-content element.

Apparently angular dialogService expects templates to be wrapped in an outer div,
as that becomes the .ui-dialog-content element.
@civibot
Copy link

civibot bot commented Apr 7, 2021

(Standard links)

@civibot civibot bot added the master label Apr 7, 2021
@eileenmcnaughton
Copy link
Contributor

@twomice can you test?

@pradpnayak
Copy link
Contributor

We had similar issue on 5.35.1, applied the patch and its working!

@colemanw
Copy link
Member Author

colemanw commented Apr 7, 2021

Merging based on review

@colemanw colemanw merged commit 4aa5395 into civicrm:master Apr 7, 2021
@colemanw colemanw deleted the fullScreenDashlet branch April 7, 2021 13:56
@twomice
Copy link
Contributor

twomice commented Apr 7, 2021

Thanks for the quick fix @colemanw! (Also eileen and pradeep!)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants