react-native-navigation icon indicating copy to clipboard operation
react-native-navigation copied to clipboard

Transparent top bar background

Open alexandrasmith00 opened this issue 6 years ago • 3 comments

Issue Description

I'm encountering a problem when the topBar in a modal has a transparent background color. When specifying a transparent color on regular pages, the color overlays whatever the page color is. However, the top bar background color is transparent, with no page color behind it in a modal.

Steps to Reproduce / Code Snippets / Screenshots

  • When opening a modal, specify a transparent color as top bar background

hm


Environment

  • React Native Navigation version: 6.4.0
  • React Native version: 0.62.0
  • Platform(s) (iOS, Android, or both?): iOS
  • Device info (Simulator/Device? OS version? Debug/Release?): On both simulator and device

alexandrasmith00 avatar Jul 13 '20 20:07 alexandrasmith00

Hey @alexandrasmith00, I'm not sure I understand the issue. Perhaps you need to specify topBar.drawBehind: true in the page's static options. This will cause the page is drawn behind the TopBar. If this isn't the issue, can you please reproduce the issue in the playground app?

guyca avatar Jul 14 '20 03:07 guyca

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If you believe the issue is still relevant, please test on the latest version and report back. Thank you for your contributions.

stale[bot] avatar Aug 16 '20 07:08 stale[bot]

The issue has been closed for inactivity.

stale[bot] avatar Aug 23 '20 08:08 stale[bot]