Skip to content

Crash on reloading a page with slide anchor #436

Description

@BenjaminSYD

Description

When using data-anchor with slides, if I reload a page with a slide anchor in the url the app crashes with error message "can't access property "item", r.activeSlide is null".

Link to isolated reproduction with no external CSS / JS

codesandbox link

Steps to reproduce it

  1. Open codesandbox link.
  2. Go to "Slide2" using right arrow button.
  3. Notice that "#section1/Slide2" is added to the url.
  4. Reload the page inside codesandbox (not codesandbox itself).
  5. Observe the application crash.

Versions

Versions can be found within the Codesandbox link provided.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions