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

Track state of windows #135

Open
MP185496 opened this issue Mar 25, 2024 · 1 comment
Open

Track state of windows #135

MP185496 opened this issue Mar 25, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@MP185496
Copy link

MP185496 commented Mar 25, 2024

Description

Is there any way to check did i already opened the window?
When we close second window by clicking x, in our app we don't have that event happened and that window is closed. So we can't predict do we need to update or open the window in that case.

Steps to reproduce

/

React Native Version

0.73.5

Affected Platforms

Runtime - Android, Runtime - iOS

Output of npx react-native info

/

Stacktrace or Logs

/

Reproducer

/

Screenshots and Videos

No response

@okwasniewski
Copy link
Member

Hey, thanks for opening the issue.

It's a valid feature request to add an event listener on a given window to know when its state changes. Let's keep this issue open until it gets implemented

@okwasniewski okwasniewski added the enhancement New feature or request label Mar 26, 2024
@okwasniewski okwasniewski changed the title Close multiple screens Track state of windows Mar 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants