oddbird / slide-deck

Web presentations, as a self-contained web component
MIT License
25 stars 0 forks source link

Presentation doesn't start on first slide #13

Closed jamesnw closed 11 months ago

jamesnw commented 11 months ago

Describe the bug After starting the presentation, the user sees the first slide, but must advance once to update the url to slide-1, and then a second time to get to slide-2.

To Reproduce Steps to reproduce the behaviour:

  1. Open up the demo, (perhaps in an incognito window to prevent the local storage value)
  2. Start the presentation, see the URL is #my-slides
  3. Hit the right arrow, and see the URL changes to #slide_my-slides-1, and it stays on slide 1
  4. Hit the right arrow again, and see the slide changes to the second slide

Expected behaviour

  1. The presentation should advance to the second slide the first time the right arrow is typed.

Desktop (please complete the following information):