ng-bootstrap下拉列表在Angular 5的Firefox中不起作用?

时间:2018-09-12 11:53:15

标签: angular drop-down-menu angular5 ng-bootstrap

我在棱角项目中使用ng-bootstrap 1.0.1。在chrome (latest version).中工作正常,但在firefox (latest version)中,单击下拉按钮时抛出错误too much recursion

<div class="row">
  <div class="col">
    <div ngbDropdown class="d-inline-block">
       <button class="btn btn-outline-primary" id="dropdownBasic1" ngbDropdownToggle>Toggle dropdown</button>
       <div ngbDropdownMenu aria-labelledby="dropdownBasic1">
        <button class="dropdown-item">Action - 1</button>
         <button class="dropdown-item">Another Action</button>
        <button class="dropdown-item">Something else is here</button>
      </div>
   </div>
</div>

将ng-bootstrap软件包1.0.0升级到2.0.0后,出现以下错误消息,

错误:

enter image description here

0 个答案:

没有答案