-
We are encountering an issue rendering a PDF using Webview in Firefox. While the PDF displays correctly in Google Chrome, Firefox renders a blank page without any errors. Is there a solution or a better component render a PDF in Rio? Exemple page: /teste
Firefox Rendering:Google Chrome Rendering:Additional information
|
Beta Was this translation helpful? Give feedback.
Answered by
mad-moo
Mar 19, 2025
Replies: 1 comment 1 reply
-
Hello! Thank you for pointing this out. We've had a look and this is an issue in how In the meantime, wrapping the def build(self) -> rio.Component:
return rio.Column(
rio.Webview(
rio.URL("https://www.thecampusqdl.com/uploads/files/pdf_sample_2.pdf"),
),
) |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
softue
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello! Thank you for pointing this out. We've had a look and this is an issue in how
rio.Webview
handles the height of some content. It'll be fixed in the next release.In the meantime, wrapping the
Webview
in ario.Column
seems to work as a workaround. Try this: