angular-ui/ui-grid

Problems with cellnav module and ui-bootstrap dropdown components

Open

#4.890 aberto em 21 de dez. de 2015

Ver no GitHub
 (1 comment) (0 reactions) (0 assignees)JavaScript (2.496 forks)batch import
good first issuegrid-cellNavneeds: decision

Métricas do repositório

Stars
 (5.395 stars)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

Description

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.

Guia do colaborador