Map not reappearing after hide -> resize -> show

Discussion created by mart_geos on May 3, 2013
Latest reply on May 7, 2013 by mart_geos
I current having a problem with hiding and showing an esri Map.

The problem arises if the window is resized whilst the map is 'hidden'. If this happens, the map doesn't reappear when it should. I'm using CSS ('display:none') to hide the map.

If you don't 'resize' the window/map whilst the map is hidden, everything works as you'd expect.

I've put together a quick example of this behaviour here:

Any help would be much appreciated.