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

SVG Icons disappear on React Native Windows app when app minimized and maximized #2631

Open
IamJignesh opened this issue Feb 10, 2025 · 1 comment
Labels
Missing repro This issue need minimum repro scenario

Comments

@IamJignesh
Copy link

Description

I am using React Native Windows for developing a new app and I am using the react-native-svg library for displaying svg's in my app.

The issue I am facing is that the SVG Icons disappear on React Native Windows app when app minimized and maximized again. Please see the attached this video https://www.loom.com/share/63acfa6853b146c79b9c5d7183470b95?sid=069e7f90-c012-4e27-a9ff-ed82a8f0294c

In this video I am showing the issue happening on the react-native-gallery app. https://github.com/microsoft/react-native-gallery this is the same issue I am facing in my current app.

Here is the source code from the sample application:
https://github.com/microsoft/react-native-gallery/blob/main/src/examples/SvgExamplePage.tsx

Steps to reproduce

  1. Download the React Native Gallery Sample app from Microsoft store https://apps.microsoft.com/detail/9npg0b292h4r?hl=en-US&gl=US
  2. Launch the React Native Gallery app
  3. Navigate to the SVG section from the menu
  4. Image
  5. You should see the screen below:
  6. Image
  7. Minimize the app and then Maximize the app you notice the SVG is no longer displayed
  8. Image

Snack or a link to a repository

https://github.com/microsoft/react-native-gallery

SVG version

15.7.1

React Native version

0.77.0

Platforms

macOS, Android

JavaScript runtime

Hermes

Workflow

React Native

Architecture

Paper (Old Architecture)

Build type

None

Device

Real device

Device model

Windows PC

Acknowledgements

Yes

@github-actions github-actions bot added the Missing repro This issue need minimum repro scenario label Feb 10, 2025
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?

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

1 participant