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

Adaptive print version shows events with custom eventContent with zero height #7419

Open
1 task done
madpara opened this issue Aug 7, 2023 · 1 comment
Open
1 task done

Comments

@madpara
Copy link

madpara commented Aug 7, 2023

Reduced Test Case

https://stackblitz.com/edit/github-6sqrvq

Do you understand that if a reduced test case is not provided, we will intentionally delay triaging of your ticket?

  • I understand

Which connector are you using (React/Angular/etc)?

React

Bug Description

When you have a custom event rendering, the adaptive plugin causes the height of your event to be zero / essentially zero and not render any text.

Adding height: 100vh or 100% does not work.

I believe this is an issue where the default events use something like forPrint to change how it is rendered. Another wrinkle is that if you use Cmd/Ctrl+P, the print rendering works fine so it is something specific to calling window.print().

We need to have a button to print rather than rely on users knowing they can use Cmd/Ctrl+P

Screenshot 2023-08-07 at 4 37 21 PM
@acerix acerix changed the title window.print() causes events to be zero height when using eventContent / custom event render Adaptive print version shows events with custom eventContent with zero height Sep 4, 2023
@andrewerrico
Copy link

+1
Also having this issue with timeGridDay views

@arshaw arshaw modified the milestones: next-release, next-release-temp Feb 6, 2024
@arshaw arshaw modified the milestones: v6.1.11, next-release Feb 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants