I have a PWA which, most of the time, I tend to use in-browser.

In Firefox Mobile, I can click on a <button> to execute window.open which then opens a new tab in the browser, displaying custom content.

The <button> behaves identically in both Firefox Desktop and Chrome Desktop.

Opening a new browser tab is the desired behaviour

Only this morning I discovered that clicking on that <button> in Chrome Mobile (84.0.4147.105) opens a new PWA instance, outside the browser, instead.

Is there any Chrome Mobile setting I can change (or any alternative approach I can adopt) to ensure that when I click the <button> in Chrome Mobile, it opens a new browser tab (as it does in all the other browsers)?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.