angular-ui/ui-grid

Problems with cellnav module and ui-bootstrap dropdown components

Open

#4,890 建立於 2015年12月21日

在 GitHub 查看
 (1 留言) (0 反應) (0 負責人)JavaScript (5,395 star) (2,496 fork)batch import
good first issuegrid-cellNavneeds: decision

描述

Hi!

I have a problem with using ui-bootstrap dropdown control inside a cell template of a ui-grid with cellnav enabled. The problem is that dropdown doesn't close when I click inside a grid. I believe this is because of the following call to evt.stopPropagation() in cellnav feature: https://github.com/angular-ui/ui-grid/blob/94a31149ca0282612d7dc85d87d2a68f2c12367c/src/features/cellnav/js/cellnav.js#L681

If I remove that call to evt.stopPropagation(); then it just works.

貢獻者指南

Problems with cellnav module and ui-bootstrap dropdown components · angular-ui/ui-grid#4890 | Good First Issue