You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
view: 'scroll' turns everything into a single slide #3858
I'm using the example from the React Framework page. It works as expected but after adding view:'scroll' to the config, the page renders as a single slide (as seen in clip below). How can i get the scroll view to work with multiple slides?
exportdefaultfunctionDeck(){constdeckDivRef=useRef<HTMLDivElement>(null);// reference to deck container divconstdeckRef=useRef<Reveal.Api|null>(null);// reference to deck reveal instanceuseEffect(()=>{// Prevents double initialization in strict modeif(deckRef.current)return;deckRef.current=newReveal(deckDivRef.current!,{view: 'scroll',// other config options});deckRef.current.initialize().then(()=>{// good place for event handlers and plugin setups});return()=>{try{if(deckRef.current){deckRef.current.destroy();deckRef.current=null;}}catch(e){console.warn("Reveal.js destroy call failed.");}};},[]);return(// Your presentation is sized based on the width and height of// our parent element. Make sure the parent is not 0-height.<divclassName="reveal"ref={deckDivRef}><divclassName="slides"><section>Slide1</section><section>Slide2</section></div></div>);}
changed the title [-]view: 'scroll' turns everything into a single slide[/-][+]`view: 'scroll'` turns everything into a single slide[/+]on Feb 18, 2026
Activity
[-]view: 'scroll' turns everything into a single slide[/-][+]`view: 'scroll'` turns everything into a single slide[/+]fix(slides): disable scroll view on mobile to prevent crash (#10212)
fix(slides): disable scroll view on mobile to prevent crash (marimo-t…