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: Page printing in templates #3345

Open
MarvinKlein1508 opened this issue Feb 12, 2025 · 1 comment
Open

fix: Page printing in templates #3345

MarvinKlein1508 opened this issue Feb 12, 2025 · 1 comment
Labels
community:contribution Issue will/can be addressed by community contribution community:good-first-issue Good issues for first time contributors

Comments

@MarvinKlein1508
Copy link
Contributor

🐛 Bug Report

The template does not support printing the web page. It will cut of at the first scroll location. For example:
https://www.fluentui-blazor.net/Forms

Image

Printing the page will result in:

Image

🤔 Expected Behavior

I would expect the printing preview to display all content of the page.

😯 Current Behavior

Only the content from the page is shown until the first scrolling is happening within the content container.

🌍 Your Environment

I've tested it in both Firefox and Edge on latest version.

  • .NET and Fluent UI Blazor library Version .NET 9.0.2 and Fluent UI 4.11.4
@microsoft-github-policy-service microsoft-github-policy-service bot added the triage New issue. Needs to be looked at label Feb 12, 2025
@vnbaaij
Copy link
Collaborator

vnbaaij commented Feb 12, 2025

You mean the template or the demo site? In any case, we have not done any optimization for printing in either one.

To fix this a @media print section will need to be added to the CSS to define what will be printen (and how). To be frank, this is a very low priority item for us and I don't think we will do anything about this in the near future.

If someone from the community wants to step in for this, then you are by all means welcome. I'll label the issue as such.

@vnbaaij vnbaaij added community:good-first-issue Good issues for first time contributors community:contribution Issue will/can be addressed by community contribution and removed triage New issue. Needs to be looked at labels Feb 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
community:contribution Issue will/can be addressed by community contribution community:good-first-issue Good issues for first time contributors
Projects
None yet
Development

No branches or pull requests

2 participants