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

WindowCloseBehaviour::LastWindowHides #3113

Open
Klemen2 opened this issue Oct 27, 2024 · 0 comments · May be fixed by #3466
Open

WindowCloseBehaviour::LastWindowHides #3113

Klemen2 opened this issue Oct 27, 2024 · 0 comments · May be fixed by #3466

Comments

@Klemen2
Copy link
Contributor

Klemen2 commented Oct 27, 2024

Problem

When setting WindowCloseBehavior to LastWindowHides the window stays visible, only the content of the window disappears.

Steps To Reproduce

Steps to reproduce the behavior:

  • Add the following config to the application
Config::new().with_close_behaviour(WindowCloseBehaviour::LastWindowHides)
  • Close the app

Expected behavior

Window actually hides

Screenshots

  • Before
    image
  • After
    image

Environment:

  • Dioxus version: 0.6.0-alpha.3
  • Rust version: 1.82.0
  • OS info: Windows 11
  • App platform: desktop
@Klemen2 Klemen2 mentioned this issue Oct 28, 2024
@Klemen2 Klemen2 linked a pull request Dec 29, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant