0
我刚刚在我的网站上实施了Angular Ui Tour(https://github.com/benmarch/angular-ui-tour),除了滚动到打开的对话框外,一切似乎都奏效。Angular ui Tour - 不滚动
我创建并启动了游这样的:
uiTourService.createDetachedTour('myTour');
this._uiTourService.getTourByName('myTour').start();
,旅游咨询步骤定义,像这样:
<div tour-step tour-step-title="Main Menu" tour-step-content="Navigate the site using this menu."
tour-step-order="0" tour-step-placement="bottom-left" tour-step-belongs-to="myTour"></div>
<p tour-step tour-step-title="second step" tour-step-content="this is the second step"
tour-step-order="1" tour-step-placement="bottom" tour-step-belongs-to="myTour"></p>
一切都是正确的显示,我也设法用我的键盘导航(方向键),将useHotkeys
设置为true。但滚动的东西不会工作,即使我尝试手动设置scrollIntoView
为true。
有谁知道,这个问题可能是什么?