Skip to content

Reopen/reinitialize the Main window when click on the App Icon #766

Open
@nikgraf

Description

@nikgraf

Proposal: Reopen/reinitialize the Main window when click on the App Icon

Summary

When closing the App window the application is still running. This is expected MacOS behaviour. Usually when you click on the App icon it opens a new window e.g. VSCode open an empty project.

For react-native-macos it would make sense to by default open the main window.

Motivation

For iOS the behaviour is different. There is only one "window" and it can't be closed except for closing the whole app.

Demo Video

Screen.Recording.2021-05-08.at.10.39.00.mov

Open Questions

Not sure if this is React-Native specific, Xcode or a combination of both. I'm very new to Xcode, but I was thinking having a good default in the react-native-macos template would be great.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions