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

Joyride step appearing on top-left corner #696

Open
sarita09 opened this issue Sep 14, 2022 · 0 comments
Open

Joyride step appearing on top-left corner #696

sarita09 opened this issue Sep 14, 2022 · 0 comments

Comments

@sarita09
Copy link

I have a component and using on page like this
<app-issues *ngFor="let issue of issueLists; let first=index;" [data]="issue" [firstEle]="first"></app-issues>

Each instance of this component have dropdown. I am targeting first instance's dropdown for the joyride steps like this

<select [joyrideStep]="firstEle === 0 ? 'issue2' : 'dummy'" [stepContent]="firstEle === 0 ? stepContentIssue2 : null" [title]="firstEle === 0 ? 'Raise An Issue' : null">
      <option value="active">Active</option>
      <option value="resolved">Resolved</option>
      <option value="irrelevant">Irrelevant</option>

    </select>

This is working fine as you can see below
localhost_4200_dashboard_projects_boards_60d05c0d7c00f0414e3b2e26_issues_project

Now if I delete the first instance from this component list, the joyride step is not targeting to new first instance instead its appearing on top-left corner.

localhost_4200_dashboard_projects_boards_60d05c0d7c00f0414e3b2e26_issues_project (1)

I am using
angular: 7.2.15
ngx-joyride: 2.2.9

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