dotnet / dotnet/wpf

Add IKeyboardInputSite.TranslateAccelerator (or like) for proper WebView2 intergration

Open
#4,637 0 comments 4 reactions 0 assignees View on GitHub
Feature Request
Dominant language
C#
Stars
7.7k
Forks
1.3k
Avg merge
1d 11h
Merged PRs (30d)
61

Description

The existing `IKeyboardInputSink.TranslateAccelerator` serves the purpose for when a container offers its child control a chance to handle a keystroke.

Sometimes, we need to do this in the opposite direction. I.e., a control asking its container if it's interested to handle a specific keystroke. To give it some practical context, please check this `WebView2` issue: https://github.com/MicrosoftEdge/WebView2Feedback/issues/468.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.