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

WebView hosting PDF still can't scroll when using the scrollbars on Catalyst #22460

Open
PureWeen opened this issue May 16, 2024 · 3 comments
Open
Labels
area-controls-webview WebView area-infrastructure CI, Maestro / Coherency, upstream dependencies/versions s/triaged Issue has been reviewed
Milestone

Comments

@PureWeen
Copy link
Member

Description

#21883

Copy link
Contributor

Hi I'm an AI powered bot that finds similar issues based off the issue title.

Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!

Open similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

@PureWeen PureWeen added this to the .NET 8 SR6 milestone May 16, 2024
@dotnet-policy-service dotnet-policy-service bot added the s/triaged Issue has been reviewed label May 16, 2024
@jsuarezruiz
Copy link
Contributor

jsuarezruiz commented May 20, 2024

The result in Catalyst is that:

  • Can scroll with gestures on the trackpad.
  • Can scroll with the mouse wheel.
  • The scrollbar does not work.

Everything works without using a PDF, including scrolling by dragging the scrollbars.

Some tests have been performed, although we need more time to determine the cause.

  • The hierarchy seems correct.
Captura de pantalla 2024-05-20 a las 9 45 00
  • Verified that the WKWebView's ScrollView accepts interactions, has the correct ContentSize and Bounces enabled.
  • LayoutView and the HitTest method (used to manage the InputTransparent property) has not impact here.
  • MauiWebViewNavigationDelegate has no impact. No changes in the behavior without using it.
  • Verified the ScrollView ContentInset and ScrollIndicatorsInsets. Changing the insets, get the same behavior.
  • Removing the custom maui WebView Configuration not affect the scrollbar problem.

@jsuarezruiz jsuarezruiz removed their assignment May 22, 2024
@PureWeen PureWeen added the area-infrastructure CI, Maestro / Coherency, upstream dependencies/versions label May 31, 2024
@PureWeen
Copy link
Member Author

PureWeen commented May 31, 2024

This is an issue with catalyst itself. @jsuarezruiz tested this with a catalyst platform app and saw the same result.

I can't comment on the complexity of this, but, one alternative might be to use
https://developer.apple.com/documentation/pdfkit/pdfview

@PureWeen PureWeen modified the milestones: .NET 8 SR6, Backlog May 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-controls-webview WebView area-infrastructure CI, Maestro / Coherency, upstream dependencies/versions s/triaged Issue has been reviewed
Projects
None yet
Development

No branches or pull requests

3 participants