Devextreme-angular:IE11下的DxTreeView Scroll关闭下拉菜单弹出窗口

时间:2018-11-27 09:56:55

标签: javascript angular devexpress devextreme devextreme-angular

在我的 Angular 6 应用程序下:我正在下拉框组件内使用 TreeView 组件,两个 devextreme-angular 18.2.3

<dx-drop-down-box
    [(value)]="treeBoxEquipmentTypesValue"
     valueExpr="equipmentName"
     displayExpr="equipmentName"
     placeholder="Cocher un équipement..."
     [showClearButton]="false"
     [showDropDownButton]="false"
     [dataSource]="listEquipments"
     (onClosed)="onEquipmentTypesDropdownClosed($event)"
     (onInitialized)="syncEquipmentTypesTreeSelection()"
     (onValueChanged)="syncEquipmentTypesTreeSelection()">    

            <div *dxTemplate="let data of 'content'">
              <dx-tree-view
                #equipmentsTreeView
                id="equipmentsTreeView"
                [dataSource]="listEquipments"
                dataStructure="plain"
                keyExpr=equipmentName
                displayExpr=equipmentName
                selectionMode="multiple"
                showCheckBoxesMode="normal"
                [selectNodesRecursive]="false"
                [selectByClick]="true"
                (onContentReady)="syncEquipmentTypesTreeSelection($event)"
                (onItemSelectionChanged)="onItemEquipmentTypesSelectionChanged($event)">
              </dx-tree-view>
            </div>
</dx-drop-down-box>

这在所有浏览器中都可以正常运行,除了 IE11 之外,在那里,打开下拉列表时treetree看起来很好,但是向下滚动下拉列表时会关闭(即使{ {1}}事件被触发)

因此,我无法在 IE11

中向下滚动

可能的解决方案?

0 个答案:

没有答案