Skip to content

[WASM Skia] Add a way to prevent default browser keyboard shortcutsΒ #22703

@MartinZikmund

Description

@MartinZikmund

What would you like to be added? πŸ’‘

In some cases, developers may want to prevent/override default keyboard shortcuts commonly used in the browser. Including, but not limited to:

  • Ctrl + plus/minus, Ctrl + mouse wheel for zoom (e.g. for ScrollViewer)
  • Ctrl + T for new tab (e.g. for TabView)
  • Ctrl + W, Ctrl + F4 to close tab (e.g. for TabView)
  • F5 for list refresh

Why is this needed? πŸ€”

Usability

Renderer 🎨

  • Skia
  • Native

For which platforms πŸ“±πŸ’»πŸ–₯️

WebAssembly

Anything else we need to know? πŸ’¬

No response

Metadata

Metadata

Assignees

Labels

kind/enhancementNew feature or requesttriage/untriagedIndicates an issue requires triaging or verification

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions