dojo.connect(map.infoWindow, "onHide", function () { map.infoWindow.setContent(""); });
Probably is an old question and not interesting for many people, but if everyone has a similar problem, I've found a solution to 'undo' resize method for infoWindow.
Try this (javascript code) at onHide event for infoWindow:
try {
map.infoWindow.setContent(' ');
dojo.style(map.infoWindow._contentPane,'max-height','');
dojo.forEach(map.infoWindow._sizers,function(o){dojo.style(o,'width','');});
} catch(e) {}
Live Long and Prosper
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.