native.showWebPopup positioning

I have an app using director, where the “pages” each have a native.showWebPopup, including the main (“menu”) page. On all of the “pages”, the native.showWebPopup is positioned at y=66, and it shows up fine in Simulator.

But on the device, it’s not showing at y=66, it’s showing at y=136 which is the coordinate for the native.showWebPopup on the menu screen.

See screenshot: http://d.pr/i/DnZY

This sort of goes along with another forum post I made just before this one: http://developer.coronalabs.com/forum/2012/07/12/discrepancy-between-how-simulator-and-device-displays

[import]uid: 101670 topic_id: 28548 reply_id: 328548[/import]

Hey Meredith,

Are you getting this positioning issue when you aren’t using Director as well? (Just wanting to confirm.) [import]uid: 52491 topic_id: 28548 reply_id: 115102[/import]

Hi Peach,

It seems that when I put a native.showWebPopup without using director, it positions itself as it should. So maybe this is a director problem. [import]uid: 101670 topic_id: 28548 reply_id: 115467[/import]

I seem to have fixed my problem, as well as the problem with the other thread I linked to. To be honest, I don’t know what did it, but everything on the simulator and device is now matching.

I have only one more slight issue that maybe you can help with regarding director and native.showWebPopup not showing on the home screen:

http://developer.coronalabs.com/forum/2012/07/14/nativeshowwebpopup-and-director-nativeshowwebpopup-not-showing-when-user-goes-back [import]uid: 101670 topic_id: 28548 reply_id: 115525[/import]

Hey Meredith, glad to hear you seem to have resolved this.

For future record if your problem is related to Director you should post it in the Director sub-forum; you’re much more likely to get assistance that way :wink:

Thanks very much for updating!

Peach [import]uid: 52491 topic_id: 28548 reply_id: 115580[/import]