quarto-dev / quarto-dev/quarto-cli

Background iframe in revealjs is not scrollable

Open
#1,603 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement revealjs
Dominant language
JavaScript
Stars
6k
Forks
458
Avg merge
1d 9h
Merged PRs (30d)
41

Description

Currently, when I set background-iframe, the site is not scrollable.

Reprex:

---
title: "Untitled"
format: revealjs
---

##  {background-iframe="https://quarto.org"}

My currently workaround is

##  {fullscreen="true"}

<iframe class="stretch" data-src="https://quarto.org/" title="https://quarto.org/">

</iframe>

which is basically what I want. Not sure how trivial or difficult it would be to fix, but I thought I'd note it here.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue with the provided revealjs document and inspect the background-iframe handling entry point. Confirm that the embedded site can scroll while preserving the existing background-iframe behavior, then verify the reproduction no longer shows a non-scrollable page.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.