InfoWindoLite popup spilling off of map on mobile or small browser window

Discussion created by marty53 on Jul 2, 2013
Latest reply on Jul 24, 2013 by evtguy
Hi there, looking for some assistance with the InfoWindowLite, perhaps also applies to regualar InfoWindow.  I'm using the InfoWindoLite for graphics popups on a mobile map I'm working on using API v3.5compact.  The problem is for features in the middle of the screen, when a graphic is clicked the popup spills off of the screen either to the left or the right. 

To reproduce this error you can pull up the InfoWindowLite sample, resize your browser window to be a bit wider than the popup, then click near center of the map.  Perhaps this is a bug because I'm assuming this popup is intended more for mobile use.

Is there a way to either:

a) move (pan) the map to center around the popup OR
b) not move (pan) the map and show the popup in the center of the screen disregarding the anchor graphic

Thanks for any help