Skip to content

Can't get first tour step to do anything #159

Closed
@jrdn91

Description

@jrdn91

I am using the exact versions of the following:

  • Browser: Chome Version 61.0.3163.100 (Official Build) (64-bit)
  • AngularJS: v1.6.1
  • Angular Bootstrap: 2.5.0
  • Angular UI Tour: 0.9.0

I have installed this library via: Bower

I have observed the following behavior:

Creating a detached tour and then trying to assign steps to them pulls up the first step when I can start() but none of the buttons in the step work

This is how I expected it to behave:

I expect that the next pause or end buttons should just work

Here is my tour config, and all related step configs:

// in a .run block
uiTourService.createDetachedTour('eventSettingsTour', {backdrop: true});
<uib-tab bb-tab-sref="Home.Event.Settings"><div ui-view="eventSettings" event="event"></div>
  <uib-tab-heading tour-step tour-step-placement="right" tour-step-order="0" tour-step-belongs-to="eventSettingsTour" tour-step-title="Event Settings Tab" tour-step-content="Here is where all the event settings are controlled for your event.">
    <i class="fa fa-cog" aria-hidden="true"></i>
    Event Settings
  </uib-tab-heading>
</uib-tab>

<uib-tab bb-tab-sref="Home.Event.CheckIn" ng-hide="tickets.length === 0"><div ui-view="eventCheckIn" event="event"></div>
  <uib-tab-heading tour-step tour-step-order="1" tour-step-belongs-to="eventSettingsTour" tour-step-title="Event Check-In Tab" tour-step-content="Here is where all your event attendees will show up if they have purchased tickets to your event">
    <i class="fa fa-clipboard" aria-hidden="true"></i>
    Event Check-In
    <span class="bb-tab-header-count" ng-if="ticketHolders && ticketHolders.length > 0">{{(ticketHolders | filter:{'ticket_purchase_refunded':'0'}).length}}</span>
    <span class="bb-tab-header-count" ng-if="!ticketHolders"><i class="fa fa-spinner fa-spin fa-fw"></i></span>
  </uib-tab-heading>
</uib-tab>

Additional notes/code:

Here is how I'm starting the tour...

$scope.openTour = function(){
  if($state.current.name === "Home.Event.Settings"){
    uiTourService.getTourByName('eventSettingsTour').start();
  }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions