angular-ui/ui-grid

Grid in an invisible iframe fails to initialize - Firefox only

Open

#5784 aperta il 2 nov 2016

Vedi su GitHub
 (0 commenti) (0 reazioni) (0 assegnatari)JavaScript (2496 fork)batch import
Browser Firefoxhelp wanted

Metriche repository

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

Descrizione

As the title says, I have a grid in an iframe, that starts as invisible via ng-show set to a false condition. In Chrome, this works, and once the iframe becomes visible, it works as it should. In Firefox, gridUtil.getStyle() in the grid's controller fails on initialization, with the result that the whole grid is unuseable. I didn't try with other browsers

relevant plunkr: http://plnkr.co/edit/yn47FW6X1ZrxAAkG1KCJ

Guida contributor