You need to sign in to do that
Don't have an account?
Sander Sijbrandij
forceCommunity:reportList takes the height of the sidebar
Hey all,
We've recently implemented the forceCommunity:reportList in our lightning community. I've noticed it only takes the height the sidebar requires, instead of as much space as it can take. This can make reports very crammed.
Has anyone else noticed this behavior? Have you been able to fix it?
So far I've tried adding a seperate component to the page that calculates the height it could take, but can't actually inject either inline styling on the element or a style tag in the component. I assume the first is because lightning locker won't allow the query, and the second is an LWC restriction because style tags in the html body is bad practice.
Have a nice day!
Sander
We've recently implemented the forceCommunity:reportList in our lightning community. I've noticed it only takes the height the sidebar requires, instead of as much space as it can take. This can make reports very crammed.
Has anyone else noticed this behavior? Have you been able to fix it?
So far I've tried adding a seperate component to the page that calculates the height it could take, but can't actually inject either inline styling on the element or a style tag in the component. I assume the first is because lightning locker won't allow the query, and the second is an LWC restriction because style tags in the html body is bad practice.
Have a nice day!
Sander
Hope you're doing well.
I also had this problem that the reportList in the Lightning Community did not take as much vertical space as it can. I managed to override the height directly on the .folderNavigator component on the page using CSS which is loaded in as a static resource in the custom community layout we use. E.g.:
.folderNavigator {
min-height: 100vh;
}
Hope this helps!