zurb / joyride

jQuery feature tour plugin.
http://www.zurb.com/playground/jquery-joyride-feature-tour-plugin
1.42k stars 238 forks source link

Cancel tour with modal tip, then resize window bug #131

Open QuintinHumphreys opened 11 years ago

QuintinHumphreys commented 11 years ago

When you are in a tour and a modal tip is displayed. Click to cancel the tour, then resize the window.

you might notice that the background blockout color fades back in, but disappears on body click. it would seem that this is the end of it but the tour behaviour is erratic thereafter displaying random tips, continuing the tour and nubs not positioned correctly.

itsmattsoria commented 11 years ago

@Quintin79 I am having the same issue. Although it doesn't seem to be 100%, forcing destroy on the close modal button helped me:

$('.joyride-close-tip').on('click', function() {
  $('#joyrideContainer').joyride('destroy');
});