Make Lightbox revealjs aware so slides do not change along the Lightbox images

Open
#14,842 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
58/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
javascript
Domain
frontend, web-dev

Research direction

Reproduce the issue with the QMD example in the report, using revealjs with lightbox enabled and grouped images. Inspect the generated presentation and Lightbox interaction to identify why opening an image changes slides; done means Lightbox navigation leaves the current revealjs slide unchanged.

Written by the indexing model from the issue text.

Description

bug lightbox revealjs
Discussed in https://github.com/orgs/quarto-dev/discussions/14830

Originally posted by stefaniecg August 30, 2026

Description

Hi, I want to build a presentation which has a slide with Lightbox figures.
My problem is that when i open the Lightbox figures the slides also change along.

How can i use Lightbox with revealjs such that the slides do not change along the Lightbox?

---
title: "My presentation"
format: revealjs
lightbox: true
---

# first slide
with 1st text

# slide with images

::: {layout-ncol=3}

![](https://quarto.org/docs/authoring/images/html-figure.png){group="my-gallery"}

![](https://quarto.org/docs/presentations/revealjs/demo/mini/images/kitten-450-200.jpeg){group="my-gallery"}

![](https://quarto.org/docs/presentations/revealjs/demo/mini/images/kitten-375-300.jpeg){group="my-gallery"}

:::

# second slide
2nd text

# final slide
final text
```</div>
Dominant language
JavaScript
Stars
6k
Forks
458
Avg merge
1d 9h
Merged PRs (30d)
41

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.

More from quarto-dev/quarto-cli

All issues in quarto-dev/quarto-cli

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.