question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Blank screen after opening a popup window

See original GitHub issue

Bug description:

The Webview is failing to redirect after pressing a Pay button in a checkout process. The behavior of the button in a desktop browser is to open a popup window, that goes initially to an about:blank page and immediately redirects to the payments page.

In the Webview, after pressing the button, the Webview goes to the about:blank in the same tab (I guess this is expected into the Webview) but it doesn’t redirect to the payments page.

To Reproduce:

  1. Open eBay Australia in the Webview
<WebView
  source={{uri: 'https://www.ebay.com.au/'}}
  onNavigationStateChange={(syntheticEvent) => {
    console.log(syntheticEvent);
  }}
/>
  1. Pick any product and make all the checkout process until the Payment method.
  2. Pick Afterpay method and then press the button Pay with Afterpay.

Expected behavior: After pressing the Pay with Afterpay button, the popup window should open the Afterpay page to proceed with the payment. I have noticed that this button works fine on other webpages.

Screenshots/Videos: webview issue-min (1)

Environment:

  • OS: iOS and Android
  • OS version: All versions
  • react-native version: 0.63.2
  • react-native-webview version: Tested on 9.4.0 and 10.8.3 and I got the same result

Also tested on a new project and got the same result 😢

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:5
  • Comments:8

github_iconTop GitHub Comments

1reaction
aniketbiswascommented, Mar 24, 2021

Hi @ArturTimoxin , did you solve this I’m facing the same issue.

0reactions
AyishmAzeemcommented, Jan 21, 2022

Hi, @ArturTimoxin Did you find the solution to the problem?

Read more comments on GitHub >

github_iconTop Results From Across the Web

open new popup window getting a blank page and it is ...
Press Windows + X. · Click Control Panel. · Click Programs. · Click Programs and Features. · Click Turn Windows Features on or...
Read more >
Chrome: Blank white popup window - The Genealogist
Chrome: Blank white popup window · Go to Chrome Settings Chrome menu · Click "Show Advanced Settings..." on the bottom · Look under...
Read more >
Popup don't present content only a blank screen
Finaly fix the problem when you re-register IEPROXY.DLL everything start working as designed. clicking START --> RUN; typing regsvr32 ...
Read more >
Pop up windows are blank - Microsoft Power BI Community
The only way to fix this is to close and reopen the pbix file, which is super annoying obviously.
Read more >
Blank white pop up box displaying when Premier opens
For anyone else having this issue on Windows, where loading a CC application (Premiere, Photoshop, Acrobat, etc) will show a blank white screen...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found