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

Margin and background color problem #2207

Open
hi-sushanta opened this issue Dec 15, 2024 · 7 comments
Open

Margin and background color problem #2207

hi-sushanta opened this issue Dec 15, 2024 · 7 comments
Labels
open Open pdf PDF component

Comments

@hi-sushanta
Copy link

Use case

  1. When I minimize my window, the PDF display area first shows a pink background before displaying the PDF content image. How can I resolve this issue?
  2. I am unable to display the background color on the PDF screen; it always appears as pink.

Proposal

Uploading Screenshot 2024-12-15 190656.png…

@hi-sushanta hi-sushanta reopened this Dec 15, 2024
@LavanyaGowtham2021 LavanyaGowtham2021 added pdf PDF component open Open labels Dec 16, 2024
@immankumarsync
Copy link
Contributor

Hi @hi-sushanta,
We are unable to understand your clearly. Could you please share with us the below information?

  1. Simple sample in which the issue replicates
  2. Issue replication steps / video
    This will be helpful for us to analyze the issue more.

@hi-sushanta
Copy link
Author

screen-capture.webm

Please focus on two sides of the pages. When I minimize and zoom a little bit, my content goes to the right.

@immankumarsync
Copy link
Contributor

immankumarsync commented Dec 18, 2024

Hi @hi-sushanta,
We are unable to replicate the reported issue with the latest version, and the page stays center when zooming. Please find the video recording of the issue replication.

Screen.Recording.2024-12-18.132645.mp4

We suggest that you upgrade the syncfusion_flutter_pdfviewer package to the latest version (28.1.33) and let us know whether the issue is resolved.

@hi-sushanta
Copy link
Author

Yes, the newer version is working nicely, but I noticed another issue: when I zoom in and go to the next page, some content automatically moves above the screen. This means scrolling is required every time to view the content above.

screen-capture.webm

@immankumarsync
Copy link
Contributor

Hi @hi-sushanta,
We are unable to replicate the reported issue. When moving to the next/previous page after zooming in, the next/previous page appears to be fitted to the height of the SfPdfViewer. Please find the attached screen recording for reference and let us know if we missed anything while replicating the issue.

Screen.Recording.2024-12-20.232502.mp4

@hi-sushanta
Copy link
Author

you always zoom but in my case, It follows the previous page's zoom level and when I click the right button on my keyboard that time works fine but when scroll the page using a laptop touchpad or mouse it shows as a problem.

@immankumarsync
Copy link
Contributor

Hi @hi-sushanta, We are unable to replicate the reported issue. When moving to the next/previous page after zooming in, the next/previous page appears to be fitted to the height of the SfPdfViewer. Please find the attached screen recording for reference and let us know if we missed anything while replicating the issue.

Screen.Recording.2024-12-20.232502.mp4

Hi @hi-sushanta , in this video we use trackpad scrolling to change the page. When the page changes, the zoom level resets as expected, and the previous page's zoom level is not retained. Could you please share the following information to analyze more on the reported case?

  1. Requirement or Expected behavior.
  2. Clear replications steps
  3. Code snippet / Simple sample

Sharing this information will help us better understand your requirements and provide more effective solutions.

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

No branches or pull requests

3 participants