Donatas Veikutis
Donatas Veikutis

Reputation: 1004

How to resize and move popup's in Microsoft Edge browser?

I try to move popup in corner, and make navigation to make in fullscreen, but nothing works.

There is how popup is created:

function popup(location, options) {
    var myWindow = window.open(location, 'popup', options);
    myWindow.moveTo(0,0);
}

That's how pop up will resize after navigation clicked inside:

var maxWidth = screen.width;
var maxHeight = screen.height;
window.resizeTo(maxWidth, maxHeight);

It is possible to do on Edge browser or not? because when popup() function triggered pop-up occurs in the middle of window not in corner and nothing happening with navigation icon.

Upvotes: 2

Views: 2929

Answers (1)

Sampson
Sampson

Reputation: 268344

Update: This limitation exists for all UWP applications, and is currently being tracked and investigated by the appropriate teams. The Microsoft Edge team will continue to track this as well, giving it appropriate consideration in the future.


This method does not appear to behave as expected in Microsoft Edge. I am an engineer on the Edge team, and will investigate the matter further. In the meantime, I've filed a public bug for this issue on bugs.microsoftedge.com.

Upvotes: 2

Related Questions