akoenig / angular-deckgrid

A lightweight masonry-like grid for AngularJS.
http://akoenig.github.io/angular-deckgrid
MIT License
1.1k stars 191 forks source link

In Safari, inside Angular UI modal, No CSS config error #90

Open metalaureate opened 9 years ago

metalaureate commented 9 years ago

Thanks for deckgrid. I use it in two scenarios. The first is inside a ui-router view. This works fine in Safari. The second is inside a modal view spawned by https://github.com/angular-ui/bootstrap/tree/master/src/modal

This second scenario causes the angular-deckgrid: No CSS configuration found error.

Both work fine in Chrome with the exception of Chrome on iOS - same problem seems to happen there.

I'm currently re-designing this part of my site to not use deckgrid, but at some cost in ideal user experience. I'd be grateful for any pointers.

metalaureate commented 9 years ago

Actually, I tracked this down to an incompatibility with using deckgrid inside the ui-bootstrap tabset control.

zdenekhatak commented 7 years ago

After more than one and half year... Was the modal hidden via display: none? Safari has troubles with getComputetStyle on the elements that are hidden this way.