-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Native Safari behavior associates cmd+z (typically the undo shortcut) with opening the last closed tab. This conflicts with the undo command implemented in the app.
Steps to Reproduce:
- Open Safari, and navigate to CSS Patterns Workbench.
- Open another tab in that window, go to any URL, and close it.
- Do an action in the CSS Workbench, and then hit cmd + z
Expected Result: Workbench should undo, but event should not bubble to Safari to invoke native behavior there.
Actual Result: Native behavior is called.
I would imagine something like preventDefault might work here.
Should note: if the window has never had any other tabs open, this won't be an issue. It needs the specific test case mentioned above.
Metadata
Metadata
Assignees
Labels
No labels