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

Rendered page does not work on mobile #64

Open
LukeWood opened this issue Oct 11, 2022 · 1 comment
Open

Rendered page does not work on mobile #64

LukeWood opened this issue Oct 11, 2022 · 1 comment

Comments

@LukeWood
Copy link

Hello @yhatt ! Thank you for your work on Marp. I love it.

I am working on slides for a conference presentation:

For some reason the live version crashes on iOS mobile. I unfortunately cannot attach my iphone to my work PC, so I cant provide much more insight than that. It just completely fails to load which is a bit weird.

@yhatt
Copy link
Owner

yhatt commented Oct 12, 2022

It's known to be caused by a lot of slides, that were patched by the polyfill library to fix broken slide rendering in WebKit. Marp uses SVG as a scaling container, but WebKit has an incorrect rendering. (Bug 23113)

Unfortunately it is a bug of the WebKit browser for mobile itself (Safari and every iOS browsers), and there is no workaround for now. You would be able to avoid crash by setting options: { script: false } in marp.config.js to disable applying polyfill, but Safari must have rendered glitched slides.

A good news is that WebKit is working to fix that. https://bugs.webkit.org/show_bug.cgi?id=90738

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

No branches or pull requests

2 participants