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

dioxus_desktop cmd/ctrl + w close window #1887

Closed
kzhui125 opened this issue Feb 1, 2024 · 2 comments
Closed

dioxus_desktop cmd/ctrl + w close window #1887

kzhui125 opened this issue Feb 1, 2024 · 2 comments

Comments

@kzhui125
Copy link

kzhui125 commented Feb 1, 2024

By default, tauri will close window with cmd/ctrl + w

dioxus can make this as default behavior.

Or how can I implement this manually?

Thanks,

@ealmloff
Copy link
Member

ealmloff commented Feb 1, 2024

This was added in #1696. The git version of dioxus automatically includes some default menu items with shortcuts including the close window shortcut

@kzhui125
Copy link
Author

kzhui125 commented Feb 1, 2024

thanks

@kzhui125 kzhui125 closed this as completed Feb 1, 2024
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

No branches or pull requests

2 participants