angular-ui/ui-grid

Multiple ui-grids within multiple tabs or divs, which are hidden, not displaying properly

Open

#5151 aperta il 21 feb 2016

Vedi su GitHub
 (6 commenti) (0 reazioni) (0 assegnatari)JavaScript (2496 fork)batch import
help wantedworkaround

Metriche repository

Star
 (5395 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

Multiple UI-grids not displaying properly when inside of a tabs or a divs which are hidden.

How to recreate issue:

  1. 3 tabs: A, B, and C
  2. place 1 grid (with unique data and ids) in B and C each
  3. let the page load with grid A showing
  4. When I click tab B, B's grid appears fine, however, clicking tab C, C's grid does not display
  5. Each individual tab's grid displays when I resize the page however.
  6. Navigating to another tabs, its grid is not displayed until you resize this page

Related to: https://github.com/angular-ui/ui-grid/issues/50 https://github.com/angular-ui/ui-grid/issues/581 https://github.com/angular-ui/ui-grid/pull/991

Guida contributor