Skip to content

fix(export): pass timeout to frame.waitForLoadState()#2578

Merged
kermanx merged 1 commit into
slidevjs:mainfrom
andreas-taranetz:fix/frame-wait-for-load-state-timeout
May 2, 2026
Merged

fix(export): pass timeout to frame.waitForLoadState()#2578
kermanx merged 1 commit into
slidevjs:mainfrom
andreas-taranetz:fix/frame-wait-for-load-state-timeout

Conversation

@andreas-taranetz
Copy link
Copy Markdown
Contributor

@andreas-taranetz andreas-taranetz commented May 1, 2026

The timeout option was already forwarded to page.goto() and page.waitForLoadState(), but the subsequent frame loop used Playwright's hardcoded 30 s default. "Heavy" slides, iframes, or complex components could exceed 30 s, making --timeout and export.timeout ineffective.

Fixes #2577

The timeout option was already forwarded to page.goto() and
page.waitForLoadState(), but the subsequent frame loop used Playwright's
hardcoded 30 s default. Large presentations with many slides, iframes,
or complex components could exceed 30 s, making --timeout and
export.timeout ineffective.

Fixes slidevjs#2577

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@netlify
Copy link
Copy Markdown

netlify Bot commented May 1, 2026

Deploy Preview for slidev ready!

Name Link
🔨 Latest commit 0d6295a
🔍 Latest deploy log https://app.netlify.com/projects/slidev/deploys/69f47f85fbd189000853d16d
😎 Deploy Preview https://deploy-preview-2578--slidev.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new Bot commented May 1, 2026

Open in StackBlitz

@slidev/client

npm i https://pkg.pr.new/@slidev/client@2578

create-slidev

npm i https://pkg.pr.new/create-slidev@2578

create-slidev-theme

npm i https://pkg.pr.new/create-slidev-theme@2578

@slidev/parser

npm i https://pkg.pr.new/@slidev/parser@2578

@slidev/cli

npm i https://pkg.pr.new/@slidev/cli@2578

@slidev/types

npm i https://pkg.pr.new/@slidev/types@2578

commit: 0d6295a

@kermanx kermanx merged commit 36f8a89 into slidevjs:main May 2, 2026
20 checks passed
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

Successfully merging this pull request may close these issues.

Timeout is ignored when exporting slides

2 participants