Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IOS is showing black screen #2448

Open
jyothine opened this issue Sep 12, 2024 · 3 comments
Open

IOS is showing black screen #2448

jyothine opened this issue Sep 12, 2024 · 3 comments
Labels
Missing repro This issue need minimum repro scenario

Comments

@jyothine
Copy link

Description

image

Getting black screen when we don't add opacity to props

If we add opacity we see white screen but no circle is displayed

Steps to reproduce

followed the README.md file for installation and just trying to add circle.

Snack or a link to a repository

I cannot share repo

SVG version

15.3.0

React Native version

0.74.1

Platforms

iOS

JavaScript runtime

None

Workflow

None

Architecture

None

Build type

None

Device

None

Device model

No response

Acknowledgements

Yes

@github-actions github-actions bot added the Missing repro This issue need minimum repro scenario label Sep 12, 2024
Copy link

Hey! 👋

The issue doesn't seem to contain a minimal reproduction.

Could you provide a snack or a link to a GitHub repository under your username that reproduces the problem?

@bohdanprog
Copy link
Member

Hello @jyothine,
Can you provide any example of how we can reproduce that issue?

@jyothine
Copy link
Author

jyothine commented Sep 13, 2024

Sure,

project is completely native, adding small react native component in one of the module.

I am generating RCTRootView and adding subview to viewcontroller.view in IOS. It works fine when the project is completely React Native where we don't add it as subview. having issue only when we add it subview for native components project.

let reactView = RCTRootView(
bridge: ReactBridgeModule.shared.createBridge(),
moduleName: moduleName,
initialProperties: initialProperties)
self.view.addSubview(reactView ?? UIView())

if we add
opacity={0.5}
needsOffscreenAlphaCompositing={false}

I can see the circle
Screenshot 2024-09-13 at 3 45 52 PM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Missing repro This issue need minimum repro scenario
Projects
None yet
Development

No branches or pull requests

2 participants