Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Steps are in wrong order when using addSteps() in Firefox #40

Open
clmnsm opened this issue Nov 11, 2024 · 0 comments
Open

Steps are in wrong order when using addSteps() in Firefox #40

clmnsm opened this issue Nov 11, 2024 · 0 comments

Comments

@clmnsm
Copy link

clmnsm commented Nov 11, 2024

The order of steps is reversed in Firefox-based browsers when adding a steps array via .addSteps():

Example on jsbin

  const tg = new tourguide.TourGuideClient({});
  tg.addSteps([
  {
    title: "Element 1",
    content: "Element 1",
    target: "#element1",
  },
  {
    title: "Element 2",
    content: "Element 2",
    target: "#element2",
  },
  {
    title: "Element 3",
    content: "Element 3",
    target: "#element3",
  }
  ]);
  
  tg.start();

This produces different results in Firefox and Chromium based browsers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant