8000 slides always jump back when speaker view is used together with r-stack and scroll view · Issue #3792 · hakimel/reveal.js · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
slides always jump back when speaker view is used together with r-stack and scroll view #3792
Open
@rjoberon

Description

@rjoberon

There seems to be an incompatibility between speaker view, scroll view and r-stack. The following slides work as expected when viewed in a regular browser window. However, when controlled from speaker view, after the second image the view jumps back to the first image instead of proceeding to slide 3:

<!doctype html>
<html>
  <head>
    <link rel="stylesheet" href="dist/reveal.css">
  </head>
  <body>
    <div class="reveal">
      <div class="slides">
	<section>Slide 1</section>
	<section>
          Slide 2
	  <div class="r-stack">
	    <img src="https://picsum.photos/450/300" class="fragment fade-out" data-fragment-index="0">
	    <img src="https://picsum.photos/400/400" class="fragment current-visible" data-fragment-index="0">
	  </div>
	</section>
	<section>Slide 3</section>
      </div>
    </div>
    <script src="dist/reveal.js"></script>
    <script src="plugin/notes/notes.js"></script>
    <script src="plugin/highlight/highlight.js"></script>
    <script>
      Reveal.initialize({
	  view: "scroll",
	  plugins: [RevealHighlight, RevealNotes ]
      });
    </script>
  </body>
</html>

Tested with the latest git version (commit dfc5690) and Firefox 137 / Chrome 135.0.7049.84.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0