Should a preferences window close when the user presses the Escape key?
sindresorhus opened this issue · 0 comments
sindresorhus commented
https://developer.apple.com/design/human-interface-guidelines/macos/app-architecture/preferences/
Some apps' preferences window closes when you press Escape and others don't. The system apps are very inconsistent about this. For example, Mail.app's preferences window doesn't close when you press Escape, while Xcode's preferences window does.
I personally think it should not close on Escape as it should be a normal window and not a panel (NSPanel
).
Share your opinion with reasonings either way.