Skip to main content
Question

When navigating back to my app from paywall on WEB, app is covered by a black div


Forum|alt.badge.img

I’m using @revenuecat/purchases-js within React Native for Web, and I’ll trigger RevenueCat’s purchase page to be displayed, which has a back button. If I press that back button, the purchase page disappears, but most of my app is covered by a black div, with the exception of my header. Weirdly, I can’t select the div with the element selector in developer tools. 

Is there a way to address this? Is there an option to open the purchase page in another window, by chance? I couldn’t find one in the docs. Thank you.

This post has been closed for comments

2 replies

jeffrey_bunn
RevenueCat Staff
Forum|alt.badge.img+6
  • RevenueCat Staff
  • 300 replies
  • May 30, 2025

Hi ​@eemebarbe, thanks for reporting this. We’ve tried to reproduce this but haven’t yet been able to. Would it be possible to share a minimal reproduction sample? 


Forum|alt.badge.img
  • Author
  • New Member
  • 1 reply
  • June 3, 2025

EDIT: It appears something is setting the height property to “auto” inline on the body element after I exit the purchase view, which is set to 100% before I enter the view. 

 

It looks like this is a known issue: https://github.com/RevenueCat/purchases-js/issues/415


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings