-
Notifications
You must be signed in to change notification settings - Fork 49
Description
I am using the exact versions of the following:
- Browser: Chome Version: 63.0.3239.84 (Official Build) (64-bit)
- AngularJS: 1.5.8
- Angular Bootstrap: 2.3.0
- Angular UI Tour: 0.9.2
I have installed this library via: NPM
I have observed the following behavior:
I try to show the tour popup after some dynamic content is rendered but the popup is blank and very long.

This is how I expected it to behave:
Showing popup at normal size and correct position
Here is my tour config, and all related step configs:
var tourConfig = {
backdrop: true,
appendToBody: true
};
var tour = uiTourService.createDetachedTour("myTour", tourConfig);
tour.createStep({
selector: '#targetEl',
stepId: 'step1',
order: 1,
title: 'Tips',
placement: 'top-left',
templateUrl: "tooltipTemplate.html",
content: 'A long content for the tip.'
});
tour.start();Additional notes/code:
I think my issue similar to this one: #144 but I already tried:
$timeout(function () {
tour.reposition();
$window.scrollTo(0, $window.pageYOffset + 1);
});I also had to make the fake scroll on window to make the popover auto resize and reposition. But sometime it just doesn't work because the page not long enough to scroll-able.
Also, I think this maybe importance if i change the step placement from "top-left" to "top" or "left" then it works perfectly.