More control over the web popup

Would be great to have more control over the web popup like move its x/y position and height/width when the popup is already open.

I have an instance where I load a local video using media.playVideo while a native.showWebPopup is open. Interestingly, the video causes the web popup to slide down out of view and when the video is done the web popup slides back into place. I want this kind of control.

  • davey [import]uid: 7845 topic_id: 10068 reply_id: 310068[/import]

+1!

I’d also like that the current web popup could get rid of the grey box which appears on the iPhone and iPad while the content is loading.
[import]uid: 47531 topic_id: 10068 reply_id: 36793[/import]

Another request for the web popup is to load in a new page of an already open web popup so you can populate the area with a different page instead of closing then opening a new one and get the gray flicker again. [import]uid: 7845 topic_id: 10068 reply_id: 36825[/import]

+1 more web popup goodness would be well received by all! [import]uid: 13859 topic_id: 10068 reply_id: 36910[/import]

+1 for more web pop up features including:

Feature: Ability to poll the web popup for the current URL in view
Usage: To know where the current user state is in a HTML page process.

Feature: Ability to programatically set the URL of the web popup after it has loaded
Usage: Control the web popup based on events within the app. The webpopup doesn’t have a “back” or home button for example. Having the feature native.webPopUp.back() is wouldn’t hurt either.

Feature: Ability for a listener to receive an event for each URL clicked by user (I don’t mean using the “corona:” tag)
Usage: If the user attempts to visit a page out of sequence it can be controlled by the app. Using feature #2 user can be bumped back to the correct page.

Current WP is pretty basic and not much good for presenting controlled external content. [import]uid: 11393 topic_id: 10068 reply_id: 39573[/import]

+1 [import]uid: 45018 topic_id: 10068 reply_id: 40084[/import]

You can know webpopup current url with a listener.
[lua]local options = { hasBackground=true, baseUrl=system.DocumentsDirectory, urlRequest=listenerWeb }
native.showWebPopup("/index.html",options)

function listenerWeb(event)
if (event.errorMessage == nil) then
ac_url = event.url
end
return true
end[/lua]
[import]uid: 44539 topic_id: 10068 reply_id: 40095[/import]

+1

Also being able to change the color of the webpopup while it’s loading. Instead of that gray color covering the area of the webpopup, you could change it to either invisible/other color/have custom image - Would be great for the design of apps [import]uid: 14018 topic_id: 10068 reply_id: 40350[/import]

> Also being able to change the color of the webpopup while it’s loading.

Yes, it’s something like 1 year I’m asking to remove that gray color while loading… [import]uid: 9158 topic_id: 10068 reply_id: 40452[/import]

+1 [import]uid: 39186 topic_id: 10068 reply_id: 41323[/import]