angular-ui/ui-grid

Its not possible to refocus a cell

Fermée

#4 312 ouverte le 2 sept. 2015

 (0 commentaire) (0 réaction) (1 personne assignée)JavaScript (2 496 forks)batch import
good first issuegrid-cellNav

Métriques du dépôt

Stars
 (5 395 étoiles)
Métriques de merge PR
 (Métriques PR en attente)

Description

When having focus on a cell using cellNav and then focusing let's say an input outside the grid, then it's not possible to focus the same cell again. This results in keyboard nav not working after trying to target that cell again, and the input doesn't blur.

I've made a plunker for convenience: http://plnkr.co/edit/3KJfTXp4daTmr36pJBs9?p=preview

  1. Click any cell.
  2. Click the input above grid.
  3. Click the cell in 1.
  4. Try to navigate with keyboard.
  5. Look at the input and see that it's still focused.

Guide contributeur